From 981ecd085e2002000c2a4c4c27a855757244ac63 Mon Sep 17 00:00:00 2001 From: mezz Date: Fri, 4 Jun 2004 18:54:23 +0000 Subject: Fix the copy-n-pastes and typos error. Submitted by: Piotr Smyrak Approved by: Arjan van Leeuwen (maintainer) --- www/opera/files/patch-install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'www/opera/files') diff --git a/www/opera/files/patch-install.sh b/www/opera/files/patch-install.sh index 6b072e72c9f1..b3b4a0c6d3af 100644 --- a/www/opera/files/patch-install.sh +++ b/www/opera/files/patch-install.sh @@ -161,7 +161,7 @@ - # end /opt/gnome share - - elif test -d /usr/share/gnome/; then -+ if test -d %%X11PREFIX%%/share/gnome/; then ++ if test -d %%X11BASE%%/share/gnome/; then - # /usr/share/gnome icon - if test ! -d /usr/share/gnome/pixmaps/; then @@ -169,7 +169,7 @@ - mkdir $mkdirv $mkdirp /usr/share/gnome/pixmaps/ - chmod $chmodv 755 /usr/share/gnome/pixmaps - cp $cpv $share_dir/images/opera.xpm /usr/share/gnome/pixmaps/opera.xpm -+ # %%X11PREFIX%%/share/gnome icon ++ # %%X11BASE%%/share/gnome icon + if test ! -d %%X11BASE%%/share/gnome/pixmaps/; then + if test -w %%X11BASE%%/share/gnome; then + mkdir $mkdirv $mkdirp %%X11BASE%%/share/gnome/pixmaps/ @@ -180,7 +180,7 @@ + elif test -w %%X11BASE%%/share/gnome/pixmaps; then cp $cpv $share_dir/images/opera.xpm %%X11BASE%%/share/gnome/pixmaps/opera.xpm fi - # end /usr/share/gnome icon -+ # end %%X11PREFIX%%/share/gnome icon ++ # end %%X11BASE%%/share/gnome icon - # /usr/share/gnome link - if test -d /usr/share/gnome/apps/; then -- cgit