summaryrefslogtreecommitdiff
path: root/debian/dpkg.postinst
diff options
context:
space:
mode:
authorWichert Akkerman <wakkerma@debian.org>2000-06-13 17:26:51 +0000
committerWichert Akkerman <wakkerma@debian.org>2000-06-13 17:26:51 +0000
commitadd2f2ca3045f3d6a6e104df365d90ab4129cc62 (patch)
tree33442e6fd60bff0e529fc0511569ad149e5d9f38 /debian/dpkg.postinst
parente41fe82f17527bb601c4f33daa973ad3242794d6 (diff)
downloaddpkg-add2f2ca3045f3d6a6e104df365d90ab4129cc62.tar.gz
scripts/dpkg-statoverride.pl:
+ fix two typos in the help message + Add code to implement --update when adding an override scripts/dpkg-statoverride.8: new file debian/dpkg.postinst: create statoverride file if it doesn't exist
Diffstat (limited to 'debian/dpkg.postinst')
-rwxr-xr-xdebian/dpkg.postinst6
1 files changed, 4 insertions, 2 deletions
diff --git a/debian/dpkg.postinst b/debian/dpkg.postinst
index 3c1ce48ce..132bb772e 100755
--- a/debian/dpkg.postinst
+++ b/debian/dpkg.postinst
@@ -115,11 +115,13 @@ OK.
fi
cd /var/lib/dpkg
-if ! test -f diversions
-then
+if ! test -f diversions ; then
touch diversions
fi
+if ! test -f statoverride ; then
+ touch statoverride
+fi
rm -f /usr/bin/dpkg-deb.dist
if test -d /DEBIAN