openbsd-ports/www/opera/patches/patch-install_sh

46 lines
1.2 KiB
Plaintext
Raw Normal View History

$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()
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
echo
echo "System wide configuration files:"
2003-04-27 12:27:50 -04:00
echo " $config_dir/opera6rc"
@@ -1278,12 +1276,6 @@ run_install()
fi
# Shorcuts and Icons
- icons
- gnome
2003-11-09 04:46:26 -05:00
- kde 3
- kde 2
- kde1
- mandrake
2003-11-09 04:46:26 -05:00
fi # OPERADESTDIR