aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2005-11-16 14:56:50 +0000
committerJason Woodward2005-11-16 14:56:50 +0000
commit2200d2928b6cb8866ca7cadc04b09c0810ab0c65 (patch)
tree78834642c71d98dc508d20b9b1260f447eb73aae
parentc6f787b6b0e32f78676ca1cebfb1e4be5e8b6e13 (diff)
downloadgslapt-2200d2928b6cb8866ca7cadc04b09c0810ab0c65.tar.gz
added call to usr/bin/update-desktop-database in doinst.sh (freerock)
-rw-r--r--ChangeLog3
-rw-r--r--Makefile.am2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 29d6e49..096c11b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
-0.3.10 Nov 14, 2005
+0.3.10 Nov 16, 2005
+ * added call to usr/bin/update-desktop-database in doinst.sh (freerock)
* updated Russian and Unkrainian translations
0.3.9 Oct 12, 2005
diff --git a/Makefile.am b/Makefile.am
index 0418d76..335959c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -46,6 +46,8 @@ pkg: all
@echo -n DESKTOPFILE= > $(PKGDIR)/install/doinst.sh
@echo "$(DESTDIR)/$(datadir)/applications/gslapt.desktop" |sed -re "s/^\/+//" >> $(PKGDIR)/install/doinst.sh
@echo 'if [ -f $$DESKTOPFILE ]; then if [ -x usr/bin/gksudo ]; then sed -i.bak -re "s/(Exec=)(\/usr\/sbin\/gslapt)/\1gksudo \2/" $$DESKTOPFILE; elif [ -x usr/bin/gksu ]; then sed -i.bak -re "s/(Exec=)(\/usr\/sbin\/gslapt)/\1gksu \2/" $$DESKTOPFILE; elif [ -x usr/bin/gnomesu ]; then sed -i.bak -re "s/(Exec=)(\/usr\/sbin\/gslapt)/\1gnomesu \2/" $$DESKTOPFILE; elif [ -x usr/bin/kdesu ]; then sed -i.bak -re "s/(Exec=)(\/usr\/sbin\/gslapt)/\1kdesu \2/" $$DESKTOPFILE; fi; fi' >> $(PKGDIR)/install/doinst.sh
+ @echo 'if [ -x usr/bin/update-desktop-database ]; then usr/bin/update-desktop-database &>/dev/null; fi' >> $(PKGDIR)/install/doinst.sh
strip --strip-unneeded $(PKGDIR)/$(sbindir)/@PACKAGE@
( cd $(PKGDIR) && /sbin/makepkg -l y -c n @PACKAGE@-@VERSION@-@host_cpu@-1.tgz )
+