summaryrefslogtreecommitdiffstats
path: root/system/webmin/webmin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/webmin/webmin.SlackBuild')
-rw-r--r--system/webmin/webmin.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/system/webmin/webmin.SlackBuild b/system/webmin/webmin.SlackBuild
index 687b7565dd..29f893d2e9 100644
--- a/system/webmin/webmin.SlackBuild
+++ b/system/webmin/webmin.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Webmin http://www.webmin.com
-# Copyright 2006-2008 David Somero (dsomero@hotmail.com)
+# Copyright 2006-2009 David Somero (dsomero@hotmail.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=webmin
-VERSION=1.420
+VERSION=1.480
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,12 +58,10 @@ rm -f mount/{freebsd,openbsd,macos}-mounts*
( find . -name '*.cgi' ; find . -name '*.pl' ) | perl perlpath.pl /usr/bin/perl -
-install -d -m 0755 $PKG/usr/libexec/webmin
-install -d -m 0755 $PKG/var
-install -d -m 0755 $PKG/etc/rc.d/
-install -d -m 0755 $PKG/etc/webmin/
-install -d -m 0755 $PKG/var/log/webmin/
-install -m 0644 $CWD/rc.webmin $PKG/etc/rc.d/rc.webmin
+mkdir -p $PKG/usr/libexec/webmin $PKG/var/log/webmin $PKG/etc/{rc.d,webmin}
+
+install -m 0755 $CWD/rc.webmin $PKG/etc/rc.d/rc.webmin
+
cp -rp * $PKG/usr/libexec/webmin
echo "slackware" > $PKG/usr/libexec/webmin/install-type
echo "/usr/libexec/webmin" > $PKG/usr/libexec/webmin/install-dir