diff options
Diffstat (limited to 'sysutils/webmin/files')
-rw-r--r-- | sysutils/webmin/files/patch-aa | 28 |
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 "" |