Revert "Fixed Alpine Linux installed package detection"

This commit is contained in:
Michael Boelen 2024-05-14 08:24:54 +02:00 committed by GitHub
parent d9ac616d11
commit 776fc716a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -2103,7 +2103,7 @@
output=$(${XBPSBINARY} ${package} 2> /dev/null | ${GREPBINARY} "^ii") output=$(${XBPSBINARY} ${package} 2> /dev/null | ${GREPBINARY} "^ii")
exit_code=$? exit_code=$?
elif [ -n "${APKBINARY}" ]; then elif [ -n "${APKBINARY}" ]; then
output=$(${APKBINARY} list --installed ${package} 2> /dev/null | ${GREPBINARY} ${package}) output=$(${APKBINARY} search ${package} 2> /dev/null | ${GREPBINARY} ${package})
exit_code=$? exit_code=$?
else else
if [ "${package}" != "__dummy__" ]; then if [ "${package}" != "__dummy__" ]; then