2004-05-12 15:35:45 -04:00
|
|
|
$OpenBSD: patch-install_sh,v 1.8 2004/05/12 19:35:46 sturm Exp $
|
|
|
|
--- install.sh.orig 2004-05-12 17:34:45.000000000 +0200
|
|
|
|
+++ install.sh 2004-05-12 17:37:01.000000000 +0200
|
|
|
|
@@ -1129,7 +1129,7 @@ run_install()
|
|
|
|
mkdir $mkdirv $mkdirp $doc_dir/
|
|
|
|
chmod $chmodv 755 $doc_dir
|
|
|
|
cp $cpv $cpf LICENSE $doc_dir
|
|
|
|
- if not test -d "$doc_dir/help"; then ln -s $str_localdirshare/help $doc_dir/help; fi
|
|
|
|
+ ln -s $str_localdirshare/help $doc_dir/help
|
|
|
|
|
|
|
|
# Shared files
|
|
|
|
debug_msg 1 "Shared files"
|
|
|
|
@@ -1180,9 +1180,7 @@ run_install()
|
|
|
|
chmod $chmodv 755 $share_dir/styles/user
|
|
|
|
cp $cpv $cpf $cpR styles/user/* $share_dir/styles/user/
|
|
|
|
|
|
|
|
- if not test -f "$share_dir/styles/OPF.css"; then
|
|
|
|
- ln $lns opf.css $share_dir/styles/OPF.css
|
|
|
|
- fi
|
|
|
|
+ ln $lns opf.css $share_dir/styles/OPF.css
|
|
|
|
|
|
|
|
cp $cpv $cpf hhd.ssr chartables.bin $share_dir/
|
|
|
|
|
|
|
|
@@ -1256,7 +1254,7 @@ run_install()
|
2001-05-16 10:44:26 -04:00
|
|
|
|
2003-11-09 04:46:26 -05:00
|
|
|
# System wide configuration files
|
2003-04-27 12:27:50 -04:00
|
|
|
config_dir="/etc"
|
|
|
|
- if can_write_to "$config_dir"; then
|
|
|
|
+ if false can_write_to "$config_dir"; then
|
2002-07-03 16:37:36 -04:00
|
|
|
echo
|
|
|
|
echo "System wide configuration files:"
|
2003-04-27 12:27:50 -04:00
|
|
|
echo " $config_dir/opera6rc"
|
2004-05-12 15:35:45 -04:00
|
|
|
@@ -1278,12 +1276,6 @@ run_install()
|
2002-07-03 16:37:36 -04:00
|
|
|
fi
|
|
|
|
|
|
|
|
# Shorcuts and Icons
|
2001-05-16 10:44:26 -04:00
|
|
|
- icons
|
|
|
|
- gnome
|
2003-11-09 04:46:26 -05:00
|
|
|
- kde 3
|
|
|
|
- kde 2
|
|
|
|
- kde1
|
|
|
|
- mandrake
|
2001-05-16 10:44:26 -04:00
|
|
|
|
2003-11-09 04:46:26 -05:00
|
|
|
fi # OPERADESTDIR
|
2001-09-16 13:10:29 -04:00
|
|
|
|