This script updates icon cache, mime db and other needed
resources
---
testing/caja/APKBUILD | 4 ++--
testing/caja/caja.post-install | 6 ++++++
2 files changed, 8 insertions(+), 2 deletions(-)
create mode 100644 testing/caja/caja.post-install
diff --git a/testing/caja/APKBUILD b/testing/caja/APKBUILD
index 5ad2383..67ec905 100644
--- a/testing/caja/APKBUILD
+++ b/testing/caja/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=caja
pkgver=1.9.3
-pkgrel=1
+pkgrel=2
pkgdesc="The file manager for the MATE desktop"
url="https://github.com/mate-desktop/caja"
arch="all"
@@ -11,7 +11,7 @@ depends="mate-common mate-desktop"
depends_dev=""
makedepends="$depends_dev intltool libtool dconf-dev gtk+-dev libunique-dev
libsm-dev mate-desktop-dev"
-install=""
+install="caja.post-install"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://pub.mate-desktop.org/releases/1.9/$pkgname-$pkgver.tar.xz"
diff --git a/testing/caja/caja.post-install b/testing/caja/caja.post-install
new file mode 100644
index 0000000..f8f9edb
--- /dev/null
+++ b/testing/caja/caja.post-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+glib-compile-schemas /usr/share/glib-2.0/schemas/
+update-mime-database /usr/share/mime/ > /dev/null
+gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+update-desktop-database -q
--
2.1.3
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---
On Tue, 23 Dec 2014 13:31:00 +0000
Alan Lacerda <alancordeiro@gmail.com> wrote:
> This script updates icon cache, mime db and other needed
> resources
> ---
> testing/caja/APKBUILD | 4 ++--
> testing/caja/caja.post-install | 6 ++++++
> 2 files changed, 8 insertions(+), 2 deletions(-)
> create mode 100644 testing/caja/caja.post-install
>
> diff --git a/testing/caja/APKBUILD b/testing/caja/APKBUILD
> index 5ad2383..67ec905 100644
> --- a/testing/caja/APKBUILD
> +++ b/testing/caja/APKBUILD
> @@ -2,7 +2,7 @@
> # Maintainer:
> pkgname=caja
> pkgver=1.9.3
> -pkgrel=1
> +pkgrel=2
> pkgdesc="The file manager for the MATE desktop"
> url="https://github.com/mate-desktop/caja"
> arch="all"
> @@ -11,7 +11,7 @@ depends="mate-common mate-desktop"
> depends_dev=""
> makedepends="$depends_dev intltool libtool dconf-dev gtk+-dev libunique-dev
> libsm-dev mate-desktop-dev"
> -install=""
> +install="caja.post-install"
> subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
> source="http://pub.mate-desktop.org/releases/1.9/$pkgname-$pkgver.tar.xz"
>
> diff --git a/testing/caja/caja.post-install b/testing/caja/caja.post-install
> new file mode 100644
> index 0000000..f8f9edb
> --- /dev/null
> +++ b/testing/caja/caja.post-install
> @@ -0,0 +1,6 @@
> +#!/bin/sh
> +
> +glib-compile-schemas /usr/share/glib-2.0/schemas/
> +update-mime-database /usr/share/mime/ > /dev/null
> +gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
> +update-desktop-database -q
NAK
All those should already be handled by triggers and not post-install
script.
-nc
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---