mirror of
https://github.com/rworkman/slackpkg
synced 2024-12-25 21:58:42 +01:00
shell-completions/slackpkg.bash: add "show-changelog"
This commit is contained in:
parent
911063fce4
commit
4d5e9bce79
2 changed files with 3 additions and 2 deletions
|
@ -101,7 +101,8 @@ _slackpkg()
|
||||||
COMPREPLY+=($(compgen -W 'install reinstall upgrade remove
|
COMPREPLY+=($(compgen -W 'install reinstall upgrade remove
|
||||||
blacklist download update install-new upgrade-all
|
blacklist download update install-new upgrade-all
|
||||||
clean-system new-config check-updates help generate-template
|
clean-system new-config check-updates help generate-template
|
||||||
install-template remove-template search file-search info' -- \
|
install-template remove-template search file-search info
|
||||||
|
show-changelog' -- \
|
||||||
"$cur"))
|
"$cur"))
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -102,7 +102,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||||
|
|
||||||
# Install bash-completion file
|
# Install bash-completion file
|
||||||
mkdir -p $PKG/usr/share/bash-completion/completions
|
mkdir -p $PKG/usr/share/bash-completion/completions
|
||||||
cat $CWD/shell-completion/slackpkg.bash > $PKG/usr/share/bash-completion/completions/slackpkg
|
cat $CWD/files/shell-completion/slackpkg.bash > $PKG/usr/share/bash-completion/completions/slackpkg
|
||||||
|
|
||||||
# Update version number:
|
# Update version number:
|
||||||
sed -i "s/@VERSION@/$VERSION/g" $PKG/usr/sbin/slackpkg
|
sed -i "s/@VERSION@/$VERSION/g" $PKG/usr/sbin/slackpkg
|
||||||
|
|
Loading…
Reference in a new issue