openbsd-ports/www/opera/patches/patch-install_sh
sturm cfc27d255b update to opera 7.52
security fixes for Bugtraq ID #10517 and Secunia Advisory SA11978, plus
misc fixes, see http://www.opera.com/linux/changelogs/752/ for details
2004-07-07 12:14:43 +00:00

46 lines
1.2 KiB
Plaintext

$OpenBSD: patch-install_sh,v 1.9 2004/07/07 12:14:43 sturm Exp $
--- install.sh.orig 2004-07-06 13:37:54.000000000 +0200
+++ install.sh 2004-07-07 14:02:45.000000000 +0200
@@ -1132,7 +1132,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"
@@ -1183,9 +1183,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/
@@ -1280,7 +1278,7 @@ run_install()
# System wide configuration files
config_dir="/etc"
- if can_write_to "$config_dir"; then
+ if false can_write_to "$config_dir"; then
echo
echo "System wide configuration files:"
echo " $config_dir/opera6rc"
@@ -1302,12 +1300,6 @@ run_install()
fi
# Shorcuts and Icons
- icons
- gnome
- kde 3
- kde 2
- kde1
- mandrake
fi # OPERADESTDIR