.install: fix comparison

This commit is contained in:
James Alad Bork 2019-01-25 20:45:44 +01:00
parent 28635dc17e
commit b630e598fe

View file

@ -1,5 +1,5 @@
post_upgrade() { post_upgrade() {
if (( $(vercmp '2.0.0-1' "$2") )); then if (( $(vercmp '2.0.0-1' "$2") == 1 )); then
cat >&2 <<-EOF cat >&2 <<-EOF
As of 2.0.0, aurutils no longer supports repose. If you have repose installed, As of 2.0.0, aurutils no longer supports repose. If you have repose installed,
please rebuild your local repository using repo-add. See: please rebuild your local repository using repo-add. See: