diff options
Diffstat (limited to 'system/webmin/webmin.SlackBuild')
-rw-r--r-- | system/webmin/webmin.SlackBuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/system/webmin/webmin.SlackBuild b/system/webmin/webmin.SlackBuild index d002b39911..526f016770 100644 --- a/system/webmin/webmin.SlackBuild +++ b/system/webmin/webmin.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for Webmin http://www.webmin.com # Copyright 2006-2019 David Somero (dsomero@hotmail.com) +# Copyright 2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,16 +26,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=webmin -VERSION=${VERSION:-1.990} +VERSION=${VERSION:-2.111} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -141,6 +139,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 |