summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2014-03-09 18:33:20 -0500
committerDoug Newgard2014-03-09 18:33:20 -0500
commitb9824115288aff435d1dd3bfe536907122ebfa14 (patch)
tree56212de660733894666ed69ef12194ebcb466121
parentdcf67e6e3caf858aefd45e690e50261e9d546d8a (diff)
downloadaur-b9824115288aff435d1dd3bfe536907122ebfa14.tar.gz
Simpler handling of update-desktop-database
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD2
-rw-r--r--ecrire.install2
3 files changed, 2 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e437ccc1ce95..3c4f14e4788d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -10,7 +10,6 @@ pkgbase = ecrire-git
makedepends = git
makedepends = cmake
depends = elementary
- depends = desktop-file-utils
provides = ecrire=0.1.0.106.317bca3
conflicts = ecrire
source = git://git.enlightenment.org/apps/ecrire.git
diff --git a/PKGBUILD b/PKGBUILD
index 4cd451e848f2..f7dec1227598 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ pkgdesc="Simple text editor based on EFL"
arch=('i686' 'x86_64')
url="http://www.enlightenment.org"
license=('GPL3')
-depends=('elementary' 'desktop-file-utils')
+depends=('elementary')
makedepends=('git' 'cmake')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
diff --git a/ecrire.install b/ecrire.install
index d3289ab64233..780a7586f359 100644
--- a/ecrire.install
+++ b/ecrire.install
@@ -1,5 +1,5 @@
post_install() {
- update-desktop-database -q
+ [[ -x /usr/bin/update-desktop-database ]] && update-desktop-database -q
}
post_upgrade() {