summaryrefslogtreecommitdiffstats
path: root/dilos/tdetoys/debian/kworldclock-trinity.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'dilos/tdetoys/debian/kworldclock-trinity.prerm')
-rw-r--r--dilos/tdetoys/debian/kworldclock-trinity.prerm13
1 files changed, 13 insertions, 0 deletions
diff --git a/dilos/tdetoys/debian/kworldclock-trinity.prerm b/dilos/tdetoys/debian/kworldclock-trinity.prerm
new file mode 100644
index 000000000..da960279f
--- /dev/null
+++ b/dilos/tdetoys/debian/kworldclock-trinity.prerm
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+if [ "${BASEDIR:=/}" = "/" ]; then
+ BASEDIR=""
+fi
+
+# Remove the link /usr/share/apps/kworldwatch.
+if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L ${BASEDIR}/usr/share/apps/kworldwatch ]; then
+ rm -f ${BASEDIR}/usr/share/apps/kworldwatch
+fi
+
+#DEBHELPER#
+exit 0