source:
debian/gnuboat-server.prerm@
95596ab
| Last change on this file since 95596ab was f553e71, checked in by , 10 years ago | |
|---|---|
|
|
| File size: 256 bytes | |
| Rev | Line | |
|---|---|---|
| [ef56459] | 1 | #!/bin/sh |
| 2 | set -e | |
| 3 | ||
| [f553e71] | 4 | rm -R /var/spool/gnuboat |
| [ef56459] | 5 | |
| [f553e71] | 6 | if [ "$(ls -A /var/lib/gnuboat/)" ]; then |
| [ef56459] | 7 | # do not remove the data directory |
| 8 | echo "Your data directory is not empty. Leaving the data directory untouched!" | |
| 9 | else | |
| [f553e71] | 10 | rm -R /var/lib/gnuboat/ |
| [ef56459] | 11 | fi |
| 12 | ||
| 13 | #DEBHELPER# | |
| 14 | ||
| 15 | exit 0 |
Note:
See TracBrowser
for help on using the repository browser.
