Skip to content

Commit

Permalink
on purge, also remove /etc/bareos/.rndpwd
Browse files Browse the repository at this point in the history
Closes: #769096 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769096)
Thanks: Andreas Beckmann
  • Loading branch information
joergsteffens authored and Marco van Wieringen committed Feb 17, 2015
1 parent 7db7c82 commit f727d0e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions debian/bareos-common.postrm
@@ -0,0 +1,16 @@
#! /bin/sh

set -e

case "$1" in
purge)
rm -f /etc/bareos/.rndpwd
;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0

0 comments on commit f727d0e

Please sign in to comment.