1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00
Simo Sorce bb13b34820 r11395: Update the Debian packaging.
Move form stable to stable distribution names based hives.
2007-10-10 11:05:15 -05:00

11 lines
243 B
Bash

#!/bin/sh -e
if [ "$1" = upgrade -a -n "$2" ] && dpkg --compare-versions "$2" lt 2.99 \
&& [ -e /var/lib/samba/passdb.tdb -a ! -e /etc/samba/smbpasswd ]
then
pdbedit -i tdbsam -e smbpasswd
rm -f /var/lib/samba/passdb.tdb
fi
#DEBHELPER#