diff options
author | Roman Mishin | 2020-05-04 15:18:36 +0700 |
---|---|---|
committer | Roman Mishin | 2020-05-04 15:18:36 +0700 |
commit | 9e64bb94e80d1cc64075a452e84282485f8df961 (patch) | |
tree | 08094268d98594cb67fc42341f99f2c1734303ff /.INSTALL | |
download | aur-9e64bb94e80d1cc64075a452e84282485f8df961.tar.gz |
created
Diffstat (limited to '.INSTALL')
-rw-r--r-- | .INSTALL | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.INSTALL b/.INSTALL new file mode 100644 index 000000000000..fa2858afaedc --- /dev/null +++ b/.INSTALL @@ -0,0 +1,11 @@ +# arg 1: the new package version +post_install() { + pkgver=$(echo $1 | sed -r 's/-[0-9]+//') + echo -e "\n$(tput setaf 2;tput bold)run:$(tput sgr0) /usr/lib/tktreectrl-$pkgver/demos/demo.tcl\n" +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + post_install $1 +} |