mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
fa75e8c1d4
Move form stable to stable distribution names based hives. (This used to be commit bb13b3482047b6ab6d84ba9e2839cf8a0fac71aa)
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#
|