From 57b120f5eed64f81eaa871651d7f0545b0fb9b8f Mon Sep 17 00:00:00 2001 From: Jo Date: Fri, 15 Mar 2024 05:39:34 +0100 Subject: [PATCH] Fixed stupid postinst bug --- debian/vzlogger.postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/vzlogger.postinst b/debian/vzlogger.postinst index c0c5c04e..40ee766a 100755 --- a/debian/vzlogger.postinst +++ b/debian/vzlogger.postinst @@ -5,8 +5,8 @@ set -e case "$1" in configure) if id vzlogger > /dev/null 2>&1 \ - && dpkg --compare-versions $2 le-nl 0.8.3 \ - && dpkg --compare-versions $2 ge 0.8.2; then + && dpkg --compare-versions "$2" le-nl 0.8.3 \ + && dpkg --compare-versions "$2" ge 0.8.2; then # maintain compatibility with existing native installations usermod -l _vzlogger vzlogger groupmod --new-name _vzlogger vzlogger