diff options
author | Nick Syntychakis | 2024-05-16 21:18:23 +0000 |
---|---|---|
committer | Nick Syntychakis | 2024-05-16 21:19:48 +0000 |
commit | 26c896ab9c485bb8f5fb916109fa974452766442 (patch) | |
tree | db8b559cff30f6dd529f2ec2af2e237ac07c4ac8 /aws-cli-v2-bin.install | |
parent | 327b145be5bb6f57954bcd51ff5a741c016d40f6 (diff) | |
download | aur-26c896ab9c485bb8f5fb916109fa974452766442.tar.gz |
A simple PKGBUILD that install aws-cli v2 from the official binary
Diffstat (limited to 'aws-cli-v2-bin.install')
-rw-r--r-- | aws-cli-v2-bin.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/aws-cli-v2-bin.install b/aws-cli-v2-bin.install new file mode 100644 index 000000000000..118b791e81b2 --- /dev/null +++ b/aws-cli-v2-bin.install @@ -0,0 +1,12 @@ +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + if [ "$(vercmp $2 2.13.25)" -le 0 ]; then + cat << EOF +===> zsh completions are no longer automatically enabled. +===> You can put the following line in a zsh startup script +===> or run it manually before using aws zsh completions. +===> source /usr/bin/aws_zsh_completer.sh +EOF + fi +} |