From 7164735eaf5a84a7547e5ef5491675b9fe289ded Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 20 Mar 2008 22:10:53 -0400 Subject: Revert "Add support for RPM (note: untested!)" 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 | 13 ++----------- post-install.d/10update-packagelist | 13 ++----------- 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a/init.d/60create-packagelist b/init.d/60create-packagelist index 351d5aa..ccac425 100755 --- a/init.d/60create-packagelist +++ b/init.d/60create-packagelist @@ -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 diff --git a/post-install.d/10update-packagelist b/post-install.d/10update-packagelist index 351d5aa..ccac425 100755 --- a/post-install.d/10update-packagelist +++ b/post-install.d/10update-packagelist @@ -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 -- cgit v1.2.3