summaryrefslogtreecommitdiff
path: root/www/linux-opera-devel/files/patch-aa
blob: 69c8a0fd8db22634cfb2f656479596fa94e7686b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
--- install.sh.orig	Mon Jul  1 14:06:31 2002
+++ install.sh	Sun Jul 14 21:10:25 2002
@@ -751,6 +751,16 @@
     /usr/lib/j2re1.3/plugin/i386/netscape4 \\"
 	;;
 
+	i386:FreeBSD)
+	    wrapper_plugin_paths="
+    %%PREFIX%%/Acrobat[45]/bin \\
+    %%PREFIX%%/lib/RealPlayer8/Plugins \\
+    %%PREFIX%%/lib/netscape-linux/plugins \\
+    %%PREFIX%%/linux-jdk1.3.1/jre/plugin/i386/ns4 \\
+    %%PREFIX%%/linux-ibm-jdk1.3.0/jre/bin \\
+    %%PREFIX%%/linux-jdk1.4.0b3/jre/plugin/i386/ns4 \\"
+	    ;;
+
 	mips*:Linux)
 	    wrapper_plugin_paths=''
 	;;
@@ -813,7 +823,7 @@
 
 # Acrobat Reader
 for BINDIR in \\
-    /usr/local/Acrobat[45]/bin \\
+    %%PREFIX%%/Acrobat[45]/bin \\
     /usr/lib/Acrobat[45]/bin \\
     /usr/X11R6/lib/Acrobat[45]/bin \\
     /opt/Acrobat[45]/bin \\
@@ -938,47 +948,17 @@
 	ln $lns $lnf libnpp.so.$plugin_version_major.$plugin_version_minor.$plugin_version_release $plugin_dir/libnpp.so
 
      # System wide configuration files
-	if can_write_to "/etc"; then
-	    echo
-	    echo "System wide configuration files:"
-	    echo "  /etc/opera6rc"
-	    echo "  /etc/opera6rc.fixed"
-	    echo " cannot be prefixed"
-	    echo "Do you want to install them [y,n | yes,no]?"
-	    while true; do
-		read install_config
-		case "${install_config}" in
-
-		    ''|y|Y|yes|YES)
-			backup /etc/opera6rc opera6rc config
-			backup /etc/opera6rc.fixed opera6rc.fixed config
-			cp $cpv $cpf $cpp config/opera6rc /etc
-			cp $cpv $cpf $cpp config/opera6rc.fixed /etc
-			break
-			;;
-
-		    n|N|no|NO)
-			break
-			;;
-		    *)
-			echo 'Invalid answer, try again:'
-			;;
-		esac
-	    done
+	if can_write_to "%%PREFIX%%/etc"; then
+			cp $cpv $cpf $cpp config/opera6rc %%PREFIX%%/etc
+			cp $cpv $cpf $cpp config/opera6rc.fixed %%PREFIX%%/etc
 	else
 	    echo
-	    echo "User \"${USERNAME}\" does not have write access to /etc"
+	    echo "User \"${USERNAME}\" does not have write access to %%PREFIX%%/etc"
 	    echo " System wide configuration files:"
-	    echo "  /etc/opera6rc"
-	    echo "  /etc/opera6rc.fixed"
+	    echo "  %%PREFIX%%/etc/opera6rc"
+	    echo "  %%PREFIX%%/etc/opera6rc.fixed"
 	    echo " were not installed"
 	fi
-
-     # Shorcuts and Icons
-	icons
-	gnome
-	kde2
-	kde
 
 # Add uninstallation here