From 3e78e6cc8c02264a923ee2f5d9b9b7b433a91707 Mon Sep 17 00:00:00 2001 From: magikcypress Date: Sat, 17 Jun 2017 20:19:51 +0200 Subject: [PATCH] [fix] common file bug for restore & upgrade --- scripts/restore | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 23d6508..ab00a89 100644 --- a/scripts/restore +++ b/scripts/restore @@ -6,7 +6,7 @@ set -eu if [ ! -e _common.sh ]; then # Get file fonction if not been to the current directory sudo cp ../settings/scripts/_common.sh ./_common.sh - sudo chmod a+rx _common + sudo chmod a+rx _common.sh fi # Loads the generic functions usually used in the script source _common.sh diff --git a/scripts/upgrade b/scripts/upgrade index f8524c3..32d3c3d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -6,7 +6,7 @@ set -eu if [ ! -e _common.sh ]; then # Get file fonction if not been to the current directory sudo cp ../settings/scripts/_common.sh ./_common.sh - sudo chmod a+rx _common + sudo chmod a+rx _common.sh fi # Loads the generic functions usually used in the script source _common.sh