http://bkhome.org/blog/?viewDetailed=02335
Playing with remove I have found and fixed a bug.
If nothing was selected then the entire directory was deleted.
Not really deleted, I could move it back from /tmp.
Version 0.6 attached.
Code: Select all
### Stu90 ### L18L ###
# delete only if one theme was selected or everything will be deleted
# using variable RESTART
RESTART=$0 # using $RESTART enables restart independent of script name
VERSION=" v 0.6 "
Regards