From ea71921616dcc54b16542786e82cfa7871302b83 Mon Sep 17 00:00:00 2001 From: iliajie Date: Sun, 17 Jul 2022 01:03:24 +0300 Subject: [PATCH 1/2] Fix error message paddings --- makerpm.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makerpm.pl b/makerpm.pl index 7fc89d02..fb507a5a 100755 --- a/makerpm.pl +++ b/makerpm.pl @@ -186,7 +186,7 @@ if [ "\$inetd" != "1" ]; then /etc/usermin/restart >/dev/null 2>&1 /etc/usermin/uninstall.sh < Date: Sun, 17 Jul 2022 15:54:33 +0300 Subject: [PATCH 2/2] Create and clear manifest files --- makerpm.pl | 2 ++ setup.sh | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/makerpm.pl b/makerpm.pl index fb507a5a..9b8a2fcd 100755 --- a/makerpm.pl +++ b/makerpm.pl @@ -196,6 +196,7 @@ printf "\\n" if [ "\\\$answer" = "y" ]; then echo "Removing Usermin RPM .." + rm -f /usr/libexec/usermin/authentic-theme/manifest-* rpm -e --nodeps usermin systemctlcmd=\\\`which systemctl 2>/dev/null\\\` if [ -x "\\\$systemctlcmd" ]; then @@ -233,6 +234,7 @@ # RPM is being removed, and no new version of usermin # has taken it's place. Stop the server /etc/usermin/stop >/dev/null 2>&1 /dev/null 2>&1