~vcs-imports/samba/main

« back to all changes in this revision

Viewing changes to packaging/Debian/debian-woody/samba.prerm

  • Committer: jerry
  • Date: 2006-07-14 21:48:39 UTC
  • Revision ID: vcs-imports@canonical.com-20060714214839-586d8c489a8fcead
gutting trunk to move to svn:externals

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh -e
2
 
 
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
9
 
 
10
 
#DEBHELPER#