diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2022-02-10 14:00:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 14:00:38 +0300 |
commit | cd433e928efe334bbb4b86fb5833f4d6ebd62f28 (patch) | |
tree | 6fd12dccf0e166282493bc5573298293e8a746b2 /include/functions | |
parent | e0b5dcf7d467f89b5c3896c67bd5743e9e3dfb95 (diff) | |
parent | eb46f39c447b45db8198b4cf613c4129873492e1 (diff) |
Merge pull request #1205 from kolenichsj/alpine_apk
Adding support for Alpine Package Keeper
Diffstat (limited to 'include/functions')
-rw-r--r-- | include/functions | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/functions b/include/functions index de36ed11..5b211707 100644 --- a/include/functions +++ b/include/functions @@ -2098,6 +2098,9 @@ elif [ -n "${XBPSBINARY}" ]; then output=$(${XBPSBINARY} ${package} 2> /dev/null | ${GREPBINARY} "^ii") exit_code=$? + elif [ -n "${APKBINARY}" ]; then + output=$(${APKBINARY} search ${package} 2> /dev/null | ${GREPBINARY} ${package}) + exit_code=$? else if [ "${package}" != "__dummy__" ]; then ReportException "PackageIsInstalled:01 (test=${TEST_NO:-unknown})" |