summarylogtreecommitdiffstats
path: root/ccm.install
diff options
context:
space:
mode:
Diffstat (limited to 'ccm.install')
-rw-r--r--ccm.install4
1 files changed, 1 insertions, 3 deletions
diff --git a/ccm.install b/ccm.install
index a9cd9406ad64..141521fc58f9 100644
--- a/ccm.install
+++ b/ccm.install
@@ -3,14 +3,12 @@
post_upgrade() {
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; do
- if [ "$(vercmp $2 $test)" -lt 1 ]; then
+ 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
- else
- /bin/true
fi
done
}