fixed wget command and added chmod

This commit is contained in:
2023-08-02 13:35:44 -05:00
parent 314f1f623e
commit 8f2067fab4

View File

@@ -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