diff options
Diffstat (limited to 'sysutils/bacula-server/files/pkg-deinstall.client.in')
-rw-r--r-- | sysutils/bacula-server/files/pkg-deinstall.client.in | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sysutils/bacula-server/files/pkg-deinstall.client.in b/sysutils/bacula-server/files/pkg-deinstall.client.in deleted file mode 100644 index cadbda56ab93..000000000000 --- a/sysutils/bacula-server/files/pkg-deinstall.client.in +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/bin:/usr/sbin -TMPFILE=/tmp/services-$RANDOM-$$ -if [ -z "${BACULA_DIR}" ]; then - BACULA_DIR=/var/db/bacula -fi - -case "$2" in -"DEINSTALL") - # Delete entries in /etc/services - sed -e '/# Bacula port start/,/# Bacule port end/{' \ - -e 'd' \ - -e '}' /etc/services > $TMPFILE - mv -f $TMPFILE /etc/services - - if [ -d ${BACULA_DIR} ]; then - rmdir ${BACULA_DIR}; - fi - if [ -d ${BACULA_DIR} ]; then - echo "Check if ${BACULA_DIR} is empty and delete it to permanently remove the bacula port" - fi - ;; -esac |