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"
|
dest="$2"
|
||||||
source="${repository}/$1"
|
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 "$source" ] && { error " -> source is not a directory"; return; }
|
||||||
[ ! -d "$dest" ] && { error " -> destination is not a directory"; return; }
|
[ ! -d "$dest" ] && { error " -> destination is not a directory"; return; }
|
||||||
|
@ -466,7 +466,6 @@ if [ $install -eq 0 ]
|
||||||
then
|
then
|
||||||
printf "\nRemove files for complete uninstall\n"
|
printf "\nRemove files for complete uninstall\n"
|
||||||
rm "$cache_file"
|
rm "$cache_file"
|
||||||
rm -rf "$repository"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Reference in a new issue