summaryrefslogtreecommitdiffstats
path: root/dilos/core/tdetoys/debian/kworldclock-trinity.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'dilos/core/tdetoys/debian/kworldclock-trinity.postinst')
-rw-r--r--dilos/core/tdetoys/debian/kworldclock-trinity.postinst15
1 files changed, 15 insertions, 0 deletions
diff --git a/dilos/core/tdetoys/debian/kworldclock-trinity.postinst b/dilos/core/tdetoys/debian/kworldclock-trinity.postinst
new file mode 100644
index 000000000..b40f4edbd
--- /dev/null
+++ b/dilos/core/tdetoys/debian/kworldclock-trinity.postinst
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+
+if [ "${BASEDIR:=/}" = "/" ]; then
+ BASEDIR=""
+fi
+
+# Link /usr/share/apps/kworldwatch to /usr/share/apps/kworldclock.
+if [ "$1" = "configure" ]; then
+ if [ -d ${BASEDIR}/usr/share/apps -a ! -e ${BASEDIR}/usr/share/apps/kworldwatch -a -d ${BASEDIR}/usr/share/apps/kworldclock ]; then
+ ln -sf kworldclock ${BASEDIR}/usr/share/apps/kworldwatch
+ fi
+fi
+
+#DEBHELPER#
+exit 0