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

46 lines
1.2 KiB
Plaintext

$OpenBSD: patch-install_sh,v 1.11 2005/05/28 16:32:18 sturm Exp $
--- install.sh.orig Fri Apr 15 06:19:38 2005
+++ install.sh Fri May 27 13:04:10 2005
@@ -1132,7 +1132,7 @@ run_install()
mkdir $mkdirv $mkdirp $share_dir/help/
chmod $chmodv 755 $share_dir/help
cp $cpv $cpf $cpR help/* $share_dir/help/
- 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
fi
mkdir $mkdirv $mkdirp $share_dir/config/
@@ -1182,9 +1182,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/
@@ -1295,7 +1293,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"
@@ -1317,12 +1315,6 @@ run_install()
fi
# Shorcuts and Icons
- icons
- gnome
- kde 3
- kde 2
- kde1
- mandrake
fi # OPERADESTDIR