1
0
forked from ports/opt
opt/opera-static/opera-static.patch
2005-11-16 16:45:59 +00:00

57 lines
1.6 KiB
Diff

diff -Nru opera-8.50-20050916.6-shared-qt.i386-en.orig/install.sh opera-8.50-20050916.6-shared-qt.i386-en/install.sh
--- opera-8.50-20050916.6-shared-qt.i386-en.orig/install.sh 2005-09-16 13:14:09.000000000 +0300
+++ opera-8.50-20050916.6-shared-qt.i386-en/install.sh 2005-09-20 08:59:12.000000000 +0300
@@ -1291,52 +1291,6 @@
- if test -z "${OPERADESTDIR}"; then
-
- # System wide configuration files
- config_dir="/etc"
- if can_write_to "$config_dir"; then
- echo
- echo "System wide configuration files:"
- echo " $config_dir/opera6rc"
- echo " $config_dir/opera6rc.fixed"
- echo " cannot be installed with the prefix \"$prefix\"."
- if con_firm "Do you want to install them"; then
- backup $config_dir/opera6rc opera6rc config
- backup $config_dir/opera6rc.fixed opera6rc.fixed config
- cp $cpv $cpf config/opera6rc $config_dir
- cp $cpv $cpf config/opera6rc.fixed $config_dir
- fi
- else
- echo
- echo "User \"${USERNAME}\" does not have write access to $config_dir"
- echo " System wide configuration files:"
- echo " $config_dir/opera6rc"
- echo " $config_dir/opera6rc.fixed"
- echo " were not installed."
- fi
-
- # Shorcuts and Icons
- bool_icons=1 # install icons by default
-
- if test "$flag_mode" = "--force" -o "$flag_mode" = "--prefix="; then
- echo
- echo "Shortcut icons cannot be installed with the prefix \"$prefix\"."
- if not con_firm "Do you still want to install them"; then
- bool_icons=0
- fi
- fi
-
- if test "${bool_icons}" -ne 0; then
- icons
- gnome
- kde 3
- kde 2
- kde1
- mandrake
- fi
-
- fi # OPERADESTDIR
# Add uninstallation here