From c1d660a9967ce0a94c640917d8b397015cbc94da Mon Sep 17 00:00:00 2001 From: Ilia Date: Sat, 23 Apr 2022 03:56:18 +0300 Subject: [PATCH] This will be cleared by uninstall --- makerpm.pl | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/makerpm.pl b/makerpm.pl index e7f21c19f..62ed34e4f 100755 --- a/makerpm.pl +++ b/makerpm.pl @@ -321,27 +321,6 @@ if [ "\$1" = 0 ]; then rm -rf /etc/webmin.rpmsave mv /etc/webmin /etc/webmin.rpmsave rm -rf /var/webmin - - rm -f /etc/sysconfig/daemons/webmin >/dev/null 2>&1 - rmdir /etc/sysconfig/daemons >/dev/null 2>&1 - rm -f /etc/init.d/webmin >/dev/null 2>&1 - rm -f /etc/rc.d/rc2.d/S99webmin >/dev/null 2>&1 - rm -f /etc/rc.d/rc3.d/S99webmin >/dev/null 2>&1 - rm -f /etc/rc.d/rc5.d/S99webmin >/dev/null 2>&1 - rm -f /etc/rc.d/rc0.d/K10webmin >/dev/null 2>&1 - rm -f /etc/rc.d/rc1.d/K10webmin >/dev/null 2>&1 - rm -f /etc/rc.d/rc6.d/K10webmin >/dev/null 2>&1 - rmdir /etc/rc.d/rc2.d >/dev/null 2>&1 - rmdir /etc/rc.d/rc3.d >/dev/null 2>&1 - rmdir /etc/rc.d/rc5.d >/dev/null 2>&1 - rmdir /etc/rc.d/rc0.d >/dev/null 2>&1 - rmdir /etc/rc.d/rc1.d >/dev/null 2>&1 - rmdir /etc/rc.d/rc6.d >/dev/null 2>&1 - - rm -f /etc/systemd/system/webmin.service >/dev/null 2>&1 - if [ -x "\$(command -v systemctl)" >/dev/null 2>&1 ]; then - systemctl daemon-reload >/dev/null 2>&1 - fi fi fi /bin/true