blob: 648e32d5b19aa441611bec47ed7150096dbe3e5d (
plain)
1
2
3
4
5
6
7
8
9
10
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
}
|