fuss-fucc / debian / prerm @ master
| 1 |
#!/bin/bash
|
|---|---|
| 2 |
|
| 3 |
# Source debconf
|
| 4 |
. /usr/share/debconf/confmodule
|
| 5 |
#DEBHELPER#
|
| 6 |
|
| 7 |
# Get the directory
|
| 8 |
db_get fuss-fucc/sftp_directory |
| 9 |
SFTPDIR="$RET" |
| 10 |
|
| 11 |
# Remove installed files
|
| 12 |
rm -rf ${SFTPDIR}/clientScripts |
| 13 |
# Do not delete computerList.txt as far as it may still be useful
|
| 14 |
rm -rf /etc/fuss-fucc |
| 15 |
|
| 16 |
# Prune the debconf database
|
| 17 |
db_purge |