diff options
author | Eloy Paris <peloy@samba.org> | 2004-02-05 17:30:56 +0000 |
---|---|---|
committer | Eloy Paris <peloy@samba.org> | 2004-02-05 17:30:56 +0000 |
commit | 4f27b0129850f1bdba21d6eff8f154eb1288ee2a (patch) | |
tree | f759155f8c1173993566fba9edc7163ee23f6256 /packaging/Debian/debian/samba.postinst | |
parent | da371e74bb3299fbf951a6b1f373daff7a2c6018 (diff) | |
download | samba-4f27b0129850f1bdba21d6eff8f154eb1288ee2a.tar.gz samba-4f27b0129850f1bdba21d6eff8f154eb1288ee2a.tar.bz2 samba-4f27b0129850f1bdba21d6eff8f154eb1288ee2a.zip |
Updating the Debian packaging stuff in packaging/Debian/. This hadn't
been updated since the 3.0.0 release so it was broken for 3.0.1 and
later. It's nice that now the Makefile supports a $DESTDIR for "make
install" :-)
(This used to be commit 40c6bf1498785850789fca3d28ea4e7ceaa296ce)
Diffstat (limited to 'packaging/Debian/debian/samba.postinst')
-rw-r--r-- | packaging/Debian/debian/samba.postinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/Debian/debian/samba.postinst b/packaging/Debian/debian/samba.postinst index 1a25290ed2..7b0bdd92ad 100644 --- a/packaging/Debian/debian/samba.postinst +++ b/packaging/Debian/debian/samba.postinst @@ -165,7 +165,7 @@ then /^\[global\]/,/^[[:space:]]*\[/ \ s/^[[:space:]]*passdb backend[[:space:]]*=[[:space:]]*//pi" \ < /etc/samba/smb.conf \ - | tail -1` + | tail -n 1` if echo "$PASSDB" | egrep -q "(^|[[:space:]])smbpasswd"; then if ! echo "$PASSDB" | egrep -q "(^|[[:space:]])tdbsam"; then PASSDB=`echo $PASSDB | sed -e's/\(^\|[[:space:]]\)smbpasswd/\1tdbsam/'` |