Don't delete repository when uninstalling
This commit is contained in:
parent
77d78841e3
commit
31a79b6238
1 changed files with 1 additions and 2 deletions
|
@ -252,7 +252,7 @@ process_files () {
|
|||
dest="$2"
|
||||
source="${repository}/$1"
|
||||
|
||||
printf "Process files from directory %s:\n" "$source"
|
||||
printf "\nProcess files from directory %s:\n" "$source"
|
||||
|
||||
[ ! -d "$source" ] && { error " -> source is not a directory"; return; }
|
||||
[ ! -d "$dest" ] && { error " -> destination is not a directory"; return; }
|
||||
|
@ -466,7 +466,6 @@ if [ $install -eq 0 ]
|
|||
then
|
||||
printf "\nRemove files for complete uninstall\n"
|
||||
rm "$cache_file"
|
||||
rm -rf "$repository"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
|
Reference in a new issue