8 lines
191 B
Bash
8 lines
191 B
Bash
|
#!/bin/sh
|
||
|
# doubles as a cleanup script
|
||
|
DIR=$(dirname $(readlink -f "$0"))
|
||
|
cd $DIR
|
||
|
TARGET=${TARGET-/opt/probotic}
|
||
|
userdel probotic
|
||
|
rm -rf $TARGET $DIR/bootstrap/probotic_data.sqlite probotic
|