Fix the copy-n-pastes and typos error.

Submitted by:	Piotr Smyrak <piotr.smyrak@heron.pl>
Approved by:	Arjan van Leeuwen <avleeuwen@piwebs.com> (maintainer)
This commit is contained in:
Jeremy Messenger 2004-06-04 18:54:23 +00:00
parent 158d5ab337
commit d7ea170623
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110843
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -114,8 +114,8 @@ bin/opera
%%DATADIR%%/styles/user/textonly.css
%%DATADIR%%/styles/user/userstyle.ini
%%DATADIR%%/styles/wml.css
%%GNOME%%share/gnome/apps/Internet/linux-opera.desktop
%%GNOME%%share/gnome/pixmaps/linux-opera.xpm
%%GNOME%%share/gnome/apps/Internet/opera.desktop
%%GNOME%%share/gnome/pixmaps/opera.xpm
@dirrm %%DATADIR%%/styles/user
@dirrm %%DATADIR%%/styles
@dirrm %%DATADIR%%/skin