added line to make scripts folder if not exist

This commit is contained in:
2023-10-11 12:36:23 -05:00
parent c32607f524
commit 362f9ed252

View File

@@ -12,6 +12,7 @@ if [[ ! -f /home/akanealw/.config/wrestic/wrestic.toml ]]
apt-get install -y restic
mkdir -pv /home/akanealw/.config/wrestic
mkdir -pv /home/akanealw/restic/restore
mkdir -pv /home/akanealw/scripts
mkdir -pv /root/restic/restore
wget -qO /usr/local/bin/wrestic http://192.168.1.50/files/wrestic/wrestic
wget -qO /home/akanealw/.config/wrestic/wrestic.toml http://192.168.1.50/files/wrestic/wrestic-local.toml