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