aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gpe-icons/gpe-icons.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gpe-icons/gpe-icons.inc')
-rw-r--r--recipes/gpe-icons/gpe-icons.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/recipes/gpe-icons/gpe-icons.inc b/recipes/gpe-icons/gpe-icons.inc
index 0c23814b41..27adffa8b8 100644
--- a/recipes/gpe-icons/gpe-icons.inc
+++ b/recipes/gpe-icons/gpe-icons.inc
@@ -1,16 +1,18 @@
SECTION = "gpe"
RDEPENDS += "gdk-pixbuf-loader-png"
-inherit update-alternatives
+INHERIT = "gpe"
+INHERIT_shr = "update-alternatives"
+inherit ${INHERIT}
-INC_PR = "r3"
+INC_PR = "r4"
ALTERNATIVE_NAME = "gpe-pixmaps"
ALTERNATIVE_LINK = "${datadir}/gpe/pixmaps"
ALTERNATIVE_PATH = "${datadir}/gpe/pixmaps.${PN}"
ALTERNATIVE_PRIORITY ?= 1
-pkg_postinst() {
+pkg_postinst_shr() {
if [[ -e ${ALTERNATIVE_LINK} && ! -h ${ALTERNATIVE_LINK} ]] ; then
echo "warn: ${ALTERNATIVE_LINK} exists and it's not a link!"
echo "warn: It will be replaced with link managed by update-alternatives"