aboutsummaryrefslogtreecommitdiff
path: root/system/webmin/webmin.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-02-18 09:08:45 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-02-18 09:13:42 +0700
commitfb70acbb6420f3f1e57a23fa0768f0580f968f9c (patch)
tree5a183f5c328108586bf1f2ff2f7102d6385581f3 /system/webmin/webmin.SlackBuild
parenta4cd3b4dce4ac81f7109262805402b5bdd737764 (diff)
system/webmin: Fix script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/webmin/webmin.SlackBuild')
-rw-r--r--system/webmin/webmin.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/webmin/webmin.SlackBuild b/system/webmin/webmin.SlackBuild
index 9eb5d149329d..68ab2e6eb5db 100644
--- a/system/webmin/webmin.SlackBuild
+++ b/system/webmin/webmin.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=webmin
VERSION=${VERSION:-2.013}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -138,6 +138,9 @@ if [ -e $PKG/etc ]; then
get_config_files $PKG/etc
fi
+rm -f $PKG/etc/webmin/{reload.new,.reload-init,restart-by-force-kill.new,.restart-by-force-kill-init,restart.new,.restart-init,start.new,.start-init,stop.new,.stop-init}
+install -m 0755 $CWD/*.new $PKG/etc/webmin
+
# Fix a few ownership issues
chown -R root:root $PKG/etc $PKG/var