From bb4305e79bc9b89a65ad9e86bc8ffae07b9ccfcc Mon Sep 17 00:00:00 2001 From: iliajie Date: Fri, 5 Aug 2022 22:15:47 +0300 Subject: [PATCH] Fix version to 1.994 --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 53184af53..2a6ce31f9 100755 --- a/setup.sh +++ b/setup.sh @@ -676,7 +676,7 @@ echo "pidfile=\`grep \"^pidfile=\" $config_dir/miniserv.conf | sed -e 's/pidfile echo "kill -USR1 \`cat \$pidfile\`" >>$config_dir/.reload-init if [ -x "$systemctlcmd" ]; then current_version=`cat "$config_dir/version" 2>/dev/null` - ancient_version=`echo $current_version 1.993 | awk '{if ($1 < $2) print 1; else print 0}'` + ancient_version=`echo $current_version 1.994 | awk '{if ($1 < $2) print 1; else print 0}'` if [ "$ancient_version" = "1" ];then echo "$config_dir/.stop-init" >>$config_dir/.reload-init echo "$config_dir/start" >>$config_dir/.reload-init