mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
4a12fe6044
latest Debian official packages for Debian unstable. Also fixes
patches that got out of date in the beta2->beta3 development process.
(This used to be commit 03871fd574
)
11 lines
243 B
Bash
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#
|