From 362f9ed2525b6db641be26ae2528acd4e980288f Mon Sep 17 00:00:00 2001 From: akanealw Date: Wed, 11 Oct 2023 12:36:23 -0500 Subject: [PATCH] added line to make scripts folder if not exist --- wrestic/install-wrestic-local.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/wrestic/install-wrestic-local.sh b/wrestic/install-wrestic-local.sh index 5f9fc2b..7bcdbda 100644 --- a/wrestic/install-wrestic-local.sh +++ b/wrestic/install-wrestic-local.sh @@ -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