diff options
author | Denis Kozadaev <denis@dilos.org> | 2020-01-30 22:13:12 +0300 |
---|---|---|
committer | TDE Gitea <gitea@mirror.git.trinitydesktop.org> | 2020-03-08 00:51:20 +0000 |
commit | 152db2820bbff10ccebcb24ed940cb051ba8ecf6 (patch) | |
tree | 6a57dbfbdd09b026dddbb60c466e923cff66680b /dilos/tdetoys/debian/kworldclock-trinity.postinst | |
parent | 7771f555e578405e77f99babf92d2b0105fe3987 (diff) | |
download | tde-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.postinst')
-rw-r--r-- | dilos/tdetoys/debian/kworldclock-trinity.postinst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dilos/tdetoys/debian/kworldclock-trinity.postinst b/dilos/tdetoys/debian/kworldclock-trinity.postinst new file mode 100644 index 000000000..b40f4edbd --- /dev/null +++ b/dilos/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 |