Convert update-mime-database into @post*

This commit is contained in:
Baptiste Daroussin 2015-09-26 00:26:58 +00:00
parent 5689c06e68
commit 70e2226c26
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397916
4 changed files with 7 additions and 7 deletions

View file

@ -1816,7 +1816,7 @@ PKGUPGRADE?= ${PKGDIR}/pkg-upgrade
_FORCE_POST_PATTERNS= rmdir fc-cache \
fonts.dir fonts.scale gtk-update-icon-cache \
ocamlfind \
update-desktop-database update-mime-database \
update-desktop-database \
ccache-update-links
.if defined(USE_LOCAL_MK)

View file

@ -9,8 +9,8 @@
%%PLASMAMULE%%share/kde4/services/plasma-applet-plasmamule.desktop
%%PLASMAMULE%%share/kde4/services/plasma-engine-plasmamule.desktop
%%PLASMAMULE%%share/mime/amule.xml
%%PLASMAMULE%%@exec [ -f %%LOCALBASE%%/bin/update-mime-database ] && %%LOCALBASE%%/bin/update-mime-database %D/share/mime >/dev/null 2>&1 || true
%%PLASMAMULE%%@unexec [ -f %%LOCALBASE%%/bin/update-mime-database ] && %%LOCALBASE%%/bin/update-mime-database %D/share/mime >/dev/null 2>&1 || true
%%PLASMAMULE%%@postexec [ -f %%LOCALBASE%%/bin/update-mime-database ] && %%LOCALBASE%%/bin/update-mime-database %D/share/mime >/dev/null 2>&1 || true
%%PLASMAMULE%%@postunexec [ -f %%LOCALBASE%%/bin/update-mime-database ] && %%LOCALBASE%%/bin/update-mime-database %D/share/mime >/dev/null 2>&1 || true
%%PLASMAMULE%%@cwd %%RESETPREFIX%%
%%ALC%%bin/alc
%%ALCC%%bin/alcc

View file

@ -8,8 +8,8 @@
%%PLASMAMULE%%%%KDE4_PREFIX%%/share/kde4/services/plasma-applet-plasmamule.desktop
%%PLASMAMULE%%%%KDE4_PREFIX%%/share/kde4/services/plasma-engine-plasmamule.desktop
%%PLASMAMULE%%%%KDE4_PREFIX%%/share/mime/amule.xml
%%PLASMAMULE%%@exec [ -f %%LOCALBASE%%/bin/update-mime-database ] && %%LOCALBASE%%/bin/update-mime-database %%KDE4_PREFIX%%/share/mime >/dev/null 2>&1 || true
%%PLASMAMULE%%@unexec [ -f %%LOCALBASE%%/bin/update-mime-database ] && %%LOCALBASE%%/bin/update-mime-database %%KDE4_PREFIX%%/share/mime >/dev/null 2>&1 || true
%%PLASMAMULE%%@postexec [ -f %%LOCALBASE%%/bin/update-mime-database ] && %%LOCALBASE%%/bin/update-mime-database %%KDE4_PREFIX%%/share/mime >/dev/null 2>&1 || true
%%PLASMAMULE%%@postunexec [ -f %%LOCALBASE%%/bin/update-mime-database ] && %%LOCALBASE%%/bin/update-mime-database %%KDE4_PREFIX%%/share/mime >/dev/null 2>&1 || true
%%ALC%%bin/alc
%%ALCC%%bin/alcc
%%MONOLITHIC%%bin/amule

View file

@ -1,7 +1,7 @@
bin/gcdmaster
%%DATADIR%%/Preferences.glade
%%DATADIR%%/ProjectChooser.glade
@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
@postunexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
share/application-registry/gcdmaster.applications
share/applications/gcdmaster.desktop
share/mime-info/gcdmaster.keys
@ -10,4 +10,4 @@ share/pixmaps/document-icons/gcdmaster-doc.png
share/pixmaps/gcdmaster.png
share/mime/packages/gcdmaster.xml
man/man1/gcdmaster.1.gz
@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
@postexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime