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
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2020-03-08 00:51:20 +0000
commit152db2820bbff10ccebcb24ed940cb051ba8ecf6 (patch)
tree6a57dbfbdd09b026dddbb60c466e923cff66680b /dilos/tdetoys/debian/kworldclock-trinity.prerm
parent7771f555e578405e77f99babf92d2b0105fe3987 (diff)
downloadtde-packaging-152db2820bbff10ccebcb24ed940cb051ba8ecf6.tar.gz
tde-packaging-152db2820bbff10ccebcb24ed940cb051ba8ecf6.zip
DilOS: tdetoys build pack
Signed-off-by: Denis Kozadaev <denis@dilos.org>
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