Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
leleliu008 committed Oct 12, 2024
1 parent 57fb55b commit e47f167
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/openbsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
run ./ppkg depends uctags
run ./ppkg install uctags --jobs=1
run ./ppkg install uctags
run ./ppkg tree uctags
Expand Down
1 change: 0 additions & 1 deletion ppkg
Original file line number Diff line number Diff line change
Expand Up @@ -9633,7 +9633,6 @@ case $1 in
"$@"
;;


*) abort 1 "unrecognized argument: $1"
esac

Expand Down
8 changes: 4 additions & 4 deletions uppm-shim-pkg
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ main() {
shift 1
for UPPM_PACKAGE_NAME in "$@"
do
BREW_PACKAGE_NAME="$(package_name_transform_from_uppm_to_pkg "$UPPM_PACKAGE_NAME")"
pkg install -y "$BREW_PACKAGE_NAME"
FPKG_PACKAGE_NAME="$(package_name_transform_from_uppm_to_pkg "$UPPM_PACKAGE_NAME")"
pkg install -y "$FPKG_PACKAGE_NAME"
done
;;
is-installed)
shift 1
BREW_PACKAGE_NAME="$(package_name_transform_from_uppm_to_pkg "$1")"
pkg info "$BREW_PACKAGE_NAME" 2>/dev/null
FPKG_PACKAGE_NAME="$(package_name_transform_from_uppm_to_pkg "$1")"
pkg info "$FPKG_PACKAGE_NAME" 2>/dev/null
;;
info)
shift 1
Expand Down

0 comments on commit e47f167

Please sign in to comment.