blob: d5314de696b72b758a2590162ffb71d4939b9ba5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
# define the versions for which a change is needed
for test in 2.92-1 2.87-1 2.81-1 2.73-1 2.72-1 2.55-1 2.17-1 2.22-1 2.69-1 2.93-1 2.101-1 2.201-1 2.202-1; do
if [ "$(vercmp $2 $test)" -lt 0 ]; then
echo '--> WARNING: changes have been made with this release!'
echo '--> Please check ~/.config/clean-chroot-manager.conf against the'
echo '--> provided /usr/share/clean-chroot-manager/ccm.skel to ensure it is'
echo '--> updated as the script does not do this automatically.'
exit 0
fi
done
}
|