git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/distributions/smartgears-distribution@94764 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Andrea Manzi 2014-04-11 12:50:39 +00:00
parent 6241c3fc19
commit 006b3d71b5
1 changed files with 5 additions and 1 deletions

View File

@ -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