aboutsummaryrefslogtreecommitdiff
path: root/sysutils/webmin/files
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1999-12-25 11:04:35 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1999-12-25 11:04:35 +0000
commit281b742c7ec28239eb0d48c036509fdf31deac2e (patch)
treeab56572b8484a98f880b4e9c02b55ee65e24e6ba /sysutils/webmin/files
parent7b1b2da26389d9f1ac6ae7cdcafa5156cbc2a798 (diff)
downloadports-281b742c7ec28239eb0d48c036509fdf31deac2e.tar.gz
ports-281b742c7ec28239eb0d48c036509fdf31deac2e.zip
Notes
Diffstat (limited to 'sysutils/webmin/files')
-rw-r--r--sysutils/webmin/files/patch-aa28
1 files changed, 16 insertions, 12 deletions
diff --git a/sysutils/webmin/files/patch-aa b/sysutils/webmin/files/patch-aa
index 340f0baff177..438c59f0b7fa 100644
--- a/sysutils/webmin/files/patch-aa
+++ b/sysutils/webmin/files/patch-aa
@@ -1,32 +1,36 @@
---- setup.sh.orig Sat Nov 14 09:00:02 1998
-+++ setup.sh Thu Nov 19 21:33:18 1998
-@@ -35,10 +35,10 @@
+--- setup.sh.orig Mon Dec 13 12:57:41 1999
++++ setup.sh Tue Dec 14 10:20:32 1999
+@@ -33,12 +33,12 @@
echo "Unless you want to run multiple versions of Webmin at the same time"
echo "you can just accept the defaults."
echo ""
-printf "Config file directory [/etc/webmin]: "
+printf "Config file directory [!!PREFIX!!/etc/webmin]: "
- read config_dir
+ if [ "$config_dir" = "" ]; then
+ read config_dir
+ fi
if [ "$config_dir" = "" ]; then
- config_dir=/etc/webmin
+ config_dir=!!PREFIX!!/etc/webmin
fi
- if [ ! -d $config_dir ]; then
- mkdir $config_dir;
-@@ -88,10 +88,10 @@
-
+ abspath=`echo $config_dir | grep "^/"`
+ if [ "$abspath" = "" ]; then
+@@ -106,12 +106,12 @@
+ fi
else
# Ask for log directory
- printf "Log file directory [/var/webmin]: "
+ printf "Log file directory [/var/log/webmin]: "
- read var_dir
+ if [ "$var_dir" = "" ]; then
+ read var_dir
+ fi
if [ "$var_dir" = "" ]; then
- var_dir=/var/webmin
+ var_dir=/var/log/webmin
fi
- if [ ! -d $var_dir ]; then
- mkdir $var_dir
-@@ -109,7 +109,9 @@
+ abspath=`echo $var_dir | grep "^/"`
+ if [ "$abspath" = "" ]; then
+@@ -135,7 +135,9 @@
echo "Webmin is written entirely in Perl. Please enter the full path to the"
echo "Perl 5 interpreter on your system."
echo ""