From fcad8b8d150fb9f508973e3044a103de74ec3877 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 3 Apr 2019 23:02:46 +0900 Subject: DEB: use _base folder for a distro instead of specific distros (squeeze and maverick). Signed-off-by: Michele Calgaro --- ubuntu/_base/tdetoys/debian/kworldclock-trinity.postinst | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ubuntu/_base/tdetoys/debian/kworldclock-trinity.postinst (limited to 'ubuntu/_base/tdetoys/debian/kworldclock-trinity.postinst') diff --git a/ubuntu/_base/tdetoys/debian/kworldclock-trinity.postinst b/ubuntu/_base/tdetoys/debian/kworldclock-trinity.postinst new file mode 100644 index 000000000..9e2c0df3e --- /dev/null +++ b/ubuntu/_base/tdetoys/debian/kworldclock-trinity.postinst @@ -0,0 +1,11 @@ +#!/bin/sh -e + +# Link /usr/share/apps/kworldwatch to /usr/share/apps/kworldclock. +if [ "$1" = "configure" ]; then + if [ -d /usr/share/apps -a ! -e /usr/share/apps/kworldwatch -a -d /usr/share/apps/kworldclock ]; then + ln -sf kworldclock /usr/share/apps/kworldwatch + fi +fi + +#DEBHELPER# +exit 0 -- cgit v1.2.1