diff --git a/scripts/remove b/scripts/remove index 996e3c9..eb2be9e 100644 --- a/scripts/remove +++ b/scripts/remove @@ -8,8 +8,8 @@ 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.sh + cp ../settings/scripts/_common.sh ./_common.sh + chmod a+rx _common.sh fi # Source app helpers source _common.sh diff --git a/scripts/upgrade b/scripts/upgrade index 9b751a6..4e433ac 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -167,7 +167,7 @@ fi # Install Enigma plugin if [[ $with_enigma -eq 1 ]]; then - sudo cp -a "$final_path/plugins/enigma/config.inc.php.dist" "$final_path/plugins/enigma/config.inc.php" \ + cp -a "$final_path/plugins/enigma/config.inc.php.dist" "$final_path/plugins/enigma/config.inc.php" \ && installed_plugins+=" 'enigma'," \ || echo "Unable to install Enigma plugin" >&2 fi