added rmsbdir to erase sb directory
parent
af5288c7af
commit
1e76881664
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
# Author: Tomas M. <http://www.slax.org/>
|
||||
|
||||
if [ ! -e "$1" ]; then
|
||||
echo
|
||||
echo "Erase module directory created by sb2dir"
|
||||
echo "Usage: $0 [source_directory.sb]"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d "$1" ]; then
|
||||
echo "Directory does not exist: $1" >&2
|
||||
exit
|
||||
fi
|
||||
|
||||
umount "$1" 2>/dev/null
|
||||
rm -Rf "$1"
|
||||
Loading…
Reference in New Issue