Fixed Alpine Linux installed package detection

This commit is contained in:
Hugo Rodrigues 2023-12-13 12:40:05 +00:00
parent ddd6e70306
commit 90ece54445
No known key found for this signature in database
GPG Key ID: 0939CD1618E3CFEE
1 changed files with 1 additions and 1 deletions

View File

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