Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
leleliu008 committed Nov 3, 2024
1 parent 8eff4d6 commit f361268
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion uppm-shim-apk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ package_name_transform_from_uppm_to_apk() {
gmake) printf '%s\n' 'make' ;;
gindent) printf '%s\n' 'indent' ;;
golang) printf '%s\n' 'go' ;;
python3) printf '%s\n' 'python3 python3-dev' ;;
xsltproc) printf '%s\n' 'libxslt' ;;
bsdtar) printf '%s\n' 'libarchive-tools' ;;
pkg-config) printf '%s\n' 'pkgconf' ;;
Expand All @@ -33,7 +34,7 @@ main() {
for UPPM_PACKAGE_NAME in "$@"
do
APK_PACKAGE_NAME="$(package_name_transform_from_uppm_to_apk "$UPPM_PACKAGE_NAME")"
apk add "$APK_PACKAGE_NAME"
apk add $APK_PACKAGE_NAME
done
;;
is-installed)
Expand Down

0 comments on commit f361268

Please sign in to comment.