summaryrefslogtreecommitdiffstats
path: root/dilos/tdetoys/debian/kworldclock-trinity.prerm
diff options
context:
space:
mode:
authorDenis Kozadaev <denis@dilos.org>2020-01-30 22:13:12 +0300
committerSlávek Banko <slavek.banko@axis.cz>2020-03-08 01:51:52 +0100
commit38471bcdd80beb04d58302912f92ecae1fbdd0af (patch)
treebfc18a6352f70419c16a66735db1d39b363f779e /dilos/tdetoys/debian/kworldclock-trinity.prerm
parent2d6d189ad768bb52674589e83dc08f572a0726e5 (diff)
downloadtde-packaging-38471bcdd80beb04d58302912f92ecae1fbdd0af.tar.gz
tde-packaging-38471bcdd80beb04d58302912f92ecae1fbdd0af.zip
DilOS: tdetoys build pack
Signed-off-by: Denis Kozadaev <denis@dilos.org> (cherry picked from commit 152db2820bbff10ccebcb24ed940cb051ba8ecf6)
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