From a4647b7bafddc621f10d3bad7d73d3bdbcacf828 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Fri, 11 Aug 2017 20:44:23 +0100 Subject: [PATCH] desktop/cairo-compmgr: Fixups for doinst.sh. Signed-off-by: David Spencer --- desktop/cairo-compmgr/cairo-compmgr.SlackBuild | 1 + desktop/cairo-compmgr/doinst.sh | 4 ---- 2 files changed, 1 insertion(+), 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