Revert "Add support for RPM (note: untested!)"
authorJoey Hess <joey@kodama.kitenet.net>
Fri, 21 Mar 2008 02:10:53 +0000 (22:10 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Fri, 21 Mar 2008 02:10:53 +0000 (22:10 -0400)
This reverts commit 2d0f02f740f73bafba187584184ec26fdf1cc3aa.

This shouldn't have been in the nobinary branch,
I am not yet decided about merging the packagelist branch.

init.d/60create-packagelist
post-install.d/10update-packagelist

index 351d5aaf0bf88a4651a8b149866a1db54103dce3..ccac4259fbb5cbe2005b264458ad5edaffd6b0bd 100755 (executable)
@@ -1,14 +1,5 @@
 #!/bin/sh
 set -e
 
-# NOTE: the output of this command should always be emtpy!
-#    diff init.d/60create-packagelist post-install.d/10update-packagelist
-# todo: fix this with symlinks?  Or with metadata.d?
-
-if [ "$LOWLEVEL_PACKAGE_MANAGER" = dpkg ]; then
-       # The output is already sorted
-       dpkg-query --show > /etc/package-list
-elif [ "$LOWLEVEL_PACKAGE_MANAGER" = "rpm" ]; then
-       rpm -qa | sort > /etc/package-list
-fi
-
+# The output is already sorted
+dpkg-query --show > /etc/package-list
index 351d5aaf0bf88a4651a8b149866a1db54103dce3..ccac4259fbb5cbe2005b264458ad5edaffd6b0bd 100755 (executable)
@@ -1,14 +1,5 @@
 #!/bin/sh
 set -e
 
-# NOTE: the output of this command should always be emtpy!
-#    diff init.d/60create-packagelist post-install.d/10update-packagelist
-# todo: fix this with symlinks?  Or with metadata.d?
-
-if [ "$LOWLEVEL_PACKAGE_MANAGER" = dpkg ]; then
-       # The output is already sorted
-       dpkg-query --show > /etc/package-list
-elif [ "$LOWLEVEL_PACKAGE_MANAGER" = "rpm" ]; then
-       rpm -qa | sort > /etc/package-list
-fi
-
+# The output is already sorted
+dpkg-query --show > /etc/package-list