summaryrefslogtreecommitdiffstats
path: root/dilos/core/tdetoys/debian/kworldclock-trinity.postinst
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-11-15 21:15:11 +0800
committerMichele Calgaro <[email protected]>2020-11-15 21:15:11 +0800
commit98095beb82f000d888dfa15bada80376c48df837 (patch)
treedadbf7de3432fa5cbf95c42733d19d5cf0508034 /dilos/core/tdetoys/debian/kworldclock-trinity.postinst
parentf3d5de18f2bdf89d5923d560420ae23cac051cb8 (diff)
downloadtde-packaging-98095beb82f000d888dfa15bada80376c48df837.tar.gz
tde-packaging-98095beb82f000d888dfa15bada80376c48df837.zip
DEB: adjusted to new 'core' folder for main packages.
Signed-off-by: Michele Calgaro <[email protected]>
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