summaryrefslogtreecommitdiff
path: root/post-install.d
diff options
context:
space:
mode:
authorScott Bronson <b.git@u32.net>2008-03-12 15:36:21 -0700
committerScott Bronson <b.git@u32.net>2008-03-12 15:38:38 -0700
commitd2a3a0b04c727430ece08aa4ec0e7719fa037f98 (patch)
treed82c0b3e2fd90d7ab8b7801e9c6b3c0aaefc103e /post-install.d
parent277c816ab7c39ec7fc644fd94fe674d9a7a3faca (diff)
Add files needed to maintain /etc/package-list
Diffstat (limited to 'post-install.d')
-rwxr-xr-xpost-install.d/10update-packagelist5
1 files changed, 5 insertions, 0 deletions
diff --git a/post-install.d/10update-packagelist b/post-install.d/10update-packagelist
new file mode 100755
index 0000000..ccac425
--- /dev/null
+++ b/post-install.d/10update-packagelist
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+
+# The output is already sorted
+dpkg-query --show > /etc/package-list