X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsystem%2Flist_packages.sh;fp=scripts%2Fsystem%2Flist_packages.sh;h=0a52aa64d380b77dd9f2b4cf166924f97db32665;hb=5a46095955145f2660c8e973f87469f7bcd8cc0b;hp=60024c7515fa45091eeb4518ee947542da4777c8;hpb=35f3c896a499f4bb3bd92eb865aad0f354b490c9;p=feisty_meow.git diff --git a/scripts/system/list_packages.sh b/scripts/system/list_packages.sh index 60024c75..0a52aa64 100644 --- a/scripts/system/list_packages.sh +++ b/scripts/system/list_packages.sh @@ -16,14 +16,14 @@ if debian_like; then exit $? fi -rpm_available="$(which rpm)" +rpm_available="$(whichable rpm)" if [ ! -z "$rpm_available" ]; then #is that the right phrase for rpm? somewhat forgotten. rpm -qa | eval $SEEK_PIECE exit $? fi -yum_available="$(which yum)" +yum_available="$(whichable yum)" if [ ! -z "$yum_available" ]; then yum list | eval $SEEK_PIECE exit $?