trying to get HEAD building again. If you want the code
[Samba/gbeck.git] / packaging / Debian / debian / samba.prerm
blobab62c706d857c6f7b8328a8e373af209f6240811
1 #!/bin/sh -e
3 if [ "$1" = upgrade -a -n "$2" ] && dpkg --compare-versions "$2" lt 2.99 \
4 && [ -e /var/lib/samba/passdb.tdb -a ! -e /etc/samba/smbpasswd ]
5 then
6 pdbedit -i tdbsam -e smbpasswd
7 rm -f /var/lib/samba/passdb.tdb
8 fi
10 #DEBHELPER#