From 113041fc8b0fda262d9b4386c318aee5098bed22 Mon Sep 17 00:00:00 2001 From: leleliu008 Date: Mon, 21 Oct 2024 20:02:32 +0800 Subject: [PATCH] optimized --- ppkg | 4 ---- uppm-shim-pkg | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/ppkg b/ppkg index dd71235..910d72b 100755 --- a/ppkg +++ b/ppkg @@ -5260,8 +5260,6 @@ $DOT_CONTENT [ -n "$PACKAGE_DEP_UPP_T2" ] && { if [ "$GITHUB_ACTIONS" = true ] ; then - echo "SYSPM=$SYSPM" - echo "PACKAGE_DEP_UPP_T2=$PACKAGE_DEP_UPP_T2" if [ "$NATIVE_PLATFORM_TYPE" = macos ] ; then T="macos-${NATIVE_PLATFORM_VERS%%.*}.0-$NATIVE_PLATFORM_ARCH" else @@ -8750,7 +8748,6 @@ __setup() { wfetch 'https://curl.se/ca/cacert.pem' --no-buffer printf 'SYSPM=%s\n' "$SYSPM" >> init.sh - cat init.sh >&2 else __setup_uppm fi @@ -9422,7 +9419,6 @@ unset LDFLAGS if [ -f "$PPKG_CORE_DIR/init.sh" ] ; then . "$PPKG_CORE_DIR/init.sh" - cat "$PPKG_CORE_DIR/init.sh" >&2 else abort 1 "please run ${COLOR_GREEN}$PPKG_ARG0 setup${COLOR_OFF} command first, then try again." fi diff --git a/uppm-shim-pkg b/uppm-shim-pkg index b10ddde..5f91be8 100755 --- a/uppm-shim-pkg +++ b/uppm-shim-pkg @@ -19,6 +19,7 @@ package_name_transform_from_uppm_to_pkg() { xz) printf '%s\n' 'gtar' ;; bsdtar) printf '%s\n' 'gtar' ;; pkg-config) printf '%s\n' 'pkgconf' ;; + perl) printf '%s\n' 'perl5.38' ;; *) printf '%s\n' "$1" esac }