diff --git a/distro/contents/install b/distro/contents/install index 5d552ce..ae342ba 100755 --- a/distro/contents/install +++ b/distro/contents/install @@ -134,7 +134,11 @@ if [ -f $shared/$applist ]; then echo -e "\nuninstalling existing apps \c" while read line; do if [ -z "$dryrun" ]; then - rm $apps/$line + rm $apps/$line + folder=${line:0:-4} + if [ ! -z "$folder" ]; then + rm -rf $apps/$folder + fi fi echo -n "." sleep .01