From 08d7aae99ccce7ad89df925f2da44aa3464e991c Mon Sep 17 00:00:00 2001 From: Ilia Date: Sun, 24 Apr 2022 11:41:26 +0300 Subject: [PATCH] Fix new line --- makerpm.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/makerpm.pl b/makerpm.pl index bf8802104..ead2e60e0 100755 --- a/makerpm.pl +++ b/makerpm.pl @@ -171,6 +171,7 @@ fi %post inetd=`grep "^inetd=" /etc/webmin/miniserv.conf 2>/dev/null | sed -e 's/inetd=//g'` startafter=0 + if [ "\$1" != 1 ]; then # Upgrading the RPM, so stop the old Webmin properly if [ "\$inetd" != "1" ]; then