From 7f8fedd399ebe79f0393bfa0f0a95d5223fd2cdf Mon Sep 17 00:00:00 2001 From: iliajie Date: Sun, 17 Jul 2022 15:54:33 +0300 Subject: [PATCH] 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