slackbuilds_ponce/audio/eawpats/douninst.sh
B. Watson 8302ca169b
audio/eawpats: Handle .cfg symlinks better.
Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2023-01-14 08:50:29 +07:00

9 lines
309 B
Bash

# remove symlinks, if they belong to us.
[ -e etc/timidity.cfg ] && \
[ "$( readlink etc/timidity.cfg )" == "timidity/eawpats.cfg" ] && \
rm -f etc/timidity.cfg
[ -e etc/timidity/timidity.cfg ] && \
[ "$( readlink etc/timidity/timidity.cfg )" == "eawpats.cfg" ] && \
rm -f etc/timidity/timidity.cfg