diff options
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 |