summaryrefslogtreecommitdiff
path: root/desktop/cairo-compmgr
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2017-08-11 20:44:23 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-12 06:58:00 +0700
commita4647b7bafddc621f10d3bad7d73d3bdbcacf828 (patch)
treeadd0078e939a0ffbfd1872d7a3542edf35bdfdd5 /desktop/cairo-compmgr
parent732cd0cf41ca5e080d8201c244932d24f9d0e8bf (diff)
downloadslackbuilds-a4647b7bafddc621f10d3bad7d73d3bdbcacf828.tar.gz
desktop/cairo-compmgr: Fixups for doinst.sh.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/cairo-compmgr')
-rw-r--r--desktop/cairo-compmgr/cairo-compmgr.SlackBuild1
-rw-r--r--desktop/cairo-compmgr/doinst.sh4
2 files changed, 1 insertions, 4 deletions
diff --git a/desktop/cairo-compmgr/cairo-compmgr.SlackBuild b/desktop/cairo-compmgr/cairo-compmgr.SlackBuild
index bce2b17f66..e0ec64aecc 100644
--- a/desktop/cairo-compmgr/cairo-compmgr.SlackBuild
+++ b/desktop/cairo-compmgr/cairo-compmgr.SlackBuild
@@ -56,6 +56,7 @@ if pkg-config --exists libgtop-2.0 ; then
perf_flags="--enable-perf-plugin"
else
perf_flags="--disable-perf-plugin"
+ sed -i -e '/schema_install ccm-perf.schemas/d' $CWD/doinst.sh
fi
# If vala changes the name of the pkgconfig file from libvala-0.12.pc,
diff --git a/desktop/cairo-compmgr/doinst.sh b/desktop/cairo-compmgr/doinst.sh
index 50b2021ed8..5d56d7df22 100644
--- a/desktop/cairo-compmgr/doinst.sh
+++ b/desktop/cairo-compmgr/doinst.sh
@@ -26,10 +26,6 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1