fix stuff with iglu -u

This commit is contained in:
Ella-0 2021-05-29 10:04:00 +01:00
parent 21eebdb14f
commit 5bdef5032d
1 changed files with 3 additions and 1 deletions

View File

@ -164,6 +164,7 @@ elif [ "$iu" = "1" ]; then
case $(stat -c "%F" /$file) in
directory) rmdir 2>/dev/null /$file;;
"regular file") rm /$file;;
"regular empty file") rm /$file;;
"symbolic link") rm /$file;;
*) break;;
esac
@ -211,8 +212,9 @@ elif [ "$u" = "1" ]; then
case $(stat -c "%F" /$file) in
directory) rmdir 2>/dev/null /$file;;
"regular file") rm /$file;;
"regular empty file") rm /$file;;
"symbolic link") rm /$file;;
*) echo "can't remove $file";;
*) echo "can't remove /$file";;
esac
done
elif [ "$b" = "1" ]; then