blob: 20772f49ab86a637a8ed842070a1469d21a4bc53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
old=`echo $2 | sed 's/-[0-9]*$//'`
new=`echo $1 | sed 's/-[0-9]*$//'`
if [[ $old != $new ]]; then
echo "New vislcg3 version."
echo "Packages dependent on vislcg3 may require rebuilds!"
fi
}
# vim:set ts=2 sw=2 et:
|