fixed wget command and added chmod
This commit is contained in:
@@ -5,10 +5,12 @@ rm /root/proxmox-*
|
||||
|
||||
# check for pbs directory
|
||||
if [[ -d /etc/proxmox-backup ]] ; then
|
||||
wget -O https://aknlw.com/proxmox-pbs-essentials /root/proxmox-pbs-essentials.sh
|
||||
wget -O /root/proxmox-pbs-essentials.sh https://aknlw.com/proxmox-pbs-essentials
|
||||
chmod +x /root/proxmox-pbs-essentials.sh
|
||||
fi
|
||||
|
||||
# check for pve directory
|
||||
if [[ -d /etc/pve ]] ; then
|
||||
wget -O https://aknlw.com/proxmox-pve-essentials /root/proxmox-pve-essentials.sh
|
||||
wget -O /root/proxmox-pve-essentials.sh https://aknlw.com/proxmox-pve-essentials
|
||||
chmod +x /root/proxmox-pve-essentials.sh
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user