Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
leleliu008 committed Aug 11, 2024
1 parent ed8d624 commit 6150581
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ppkg
Original file line number Diff line number Diff line change
Expand Up @@ -2552,7 +2552,7 @@ __fetch_resources_of_the_given_package() {
# {{{ ppkg pack

# examples:
# __pack_the_given_installed_package <PACKAGE-NAME> [-t <zip|tar.gz|tar.xz|tar.lz|tar.bz2>] [-o <OUTPUT-PATH>] [--exclude=<PATH>] [-K]
# __pack_the_given_installed_package <PACKAGE-NAME> [-t <zip|tar.gz|tar.xz|tar.lz|tar.bz2>] [-o <OUTPUT-PATH>] [--exclude <PATH>] [-K]
# __pack_the_given_installed_package autoconf -t tar.xz
__pack_the_given_installed_package() {
__load_receipt_of_the_given_package "$1"
Expand Down Expand Up @@ -8191,6 +8191,7 @@ __setup_openbsd() {
run ln -sf /usr/local/bin/gbase64 bin/base64
run ln -sf /usr/local/bin/gunlink bin/unlink
run ln -sf /usr/local/bin/ginstall bin/install
run ln -sf /usr/local/bin/grealpath bin/realpath
run ln -sf /usr/local/bin/gsha256sum bin/sha256sum
run ln -sf /usr/local/bin/pkgconf bin/pkg-config

Expand Down
2 changes: 1 addition & 1 deletion ppkg-zsh-completion
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function _ppkg() {
'1:package-name:_ppkg_installed_packages' \
'-t[specify output type]:output-type:(zip tar.gz tar.xz tar.lz tar.bz2)' \
'-o[specify output filepath or directory]:output-path:_files' \
'--exclude=-[specify exclude path]' \
'--exclude[specify exclude path]:exclude-path:_path_files -/' \
'--keep-session-dir[do not delete the session directory even if packed success]'
;;
tree)
Expand Down

0 comments on commit 6150581

Please sign in to comment.