openbsd-ports/sysutils/webmin/patches/patch-aa
2000-10-26 12:45:03 +00:00

38 lines
1.1 KiB
Plaintext

--- setup.sh.orig Tue Sep 12 06:36:17 2000
+++ setup.sh Thu Oct 26 20:32:57 2000
@@ -34,12 +34,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 [/usr/local/lib/webmin]: "
if [ "$config_dir" = "" ]; then
read config_dir
fi
if [ "$config_dir" = "" ]; then
- config_dir=/etc/webmin
+ config_dir=/usr/local/lib/webmin
fi
abspath=`echo $config_dir | grep "^/"`
if [ "$abspath" = "" ]; then
@@ -214,14 +214,11 @@
# Ask for operating system type
echo "***********************************************************************"
- if [ "$os_type" = "" ]; then
- $perl $wadir/oschooser.pl $wadir/os_list.txt /tmp/$$.os $autoos
- if [ $? != 0 ]; then
- exit $?
- fi
- . /tmp/$$.os
- rm -f /tmp/$$.os
- fi
+ os_type='openbsd'
+ os_version='2.8'
+ real_os_type='OpenBSD'
+ real_os_version='2.8'
+
echo "Operating system name: $real_os_type"
echo "Operating system version: $real_os_version"
echo ""