Fully-qualify the paths to update-mime-database and update-desktop-database
so that package installation can work on older platforms.
This commit is contained in:
parent
328aa87431
commit
ccca5fd1af
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=24178
1 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" [
|
||||
<!ENTITY base CDATA "../..">
|
||||
<!ENTITY date "$FreeBSD: www/en/gnome/docs/porting.sgml,v 1.46 2004/12/30 17:36:54 pav Exp $">
|
||||
<!ENTITY date "$FreeBSD: www/en/gnome/docs/porting.sgml,v 1.47 2005/01/20 17:15:33 pav Exp $">
|
||||
<!ENTITY title "FreeBSD GNOME Project: How To Make a Port">
|
||||
<!ENTITY % gnomeincludes SYSTEM "../includes.sgml"> %gnomeincludes;
|
||||
<!ENTITY % includes SYSTEM "../../includes.sgml"> %includes;
|
||||
|
@ -269,8 +269,8 @@ GCONF_SCHEMAS= CDDB-Slave2.schemas gnome-audio-profiles.schemas \
|
|||
end of the <tt>pkg-plist</tt>:</p>
|
||||
|
||||
<pre>
|
||||
@exec update-mime-database %D/share/mime
|
||||
@unexec update-mime-database %D/share/mime
|
||||
@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
|
||||
@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
|
||||
</pre>
|
||||
|
||||
<p>Also make sure <tt>shared-mime-info</tt> is among the dependencies
|
||||
|
@ -294,8 +294,8 @@ GCONF_SCHEMAS= CDDB-Slave2.schemas gnome-audio-profiles.schemas \
|
|||
these lines to the end of <tt>pkg-plist</tt>:</p>
|
||||
|
||||
<pre>
|
||||
@exec update-desktop-database > /dev/null || /usr/bin/true
|
||||
@unexec update-desktop-database > /dev/null || /usr/bin/true
|
||||
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
|
||||
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
|
||||
</pre>
|
||||
|
||||
<p>Also add following to the <tt>post-install</tt> target in port's
|
||||
|
|
Loading…
Reference in a new issue