repo.or.cz
/
Samba
/
gbeck.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
trying to get HEAD building again. If you want the code
[Samba/gbeck.git]
/
packaging
/
Debian
/
debian
/
samba.prerm
blob
ab62c706d857c6f7b8328a8e373af209f6240811
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#