Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
leleliu008 committed Oct 21, 2024
1 parent 07fd1fc commit 113041f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions ppkg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions uppm-shim-pkg
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 113041f

Please sign in to comment.