You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/dilos/tdetoys/debian/kworldclock-trinity.postinst

16 lines
383 B

#!/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