magician/debian/postinst

15 lines
358 B
Plaintext
Raw Permalink Normal View History

2017-05-23 16:21:35 +02:00
#!/bin/sh
set -e
if [ -f "/usr/lib/magician/magician-2.00" ]; then
update-alternatives --install /usr/lib/magician/magician magician /usr/lib/magician/magician-2.00 200
fi
if [ -f "/usr/lib/magician/magician-1.00" ]; then
update-alternatives --install /usr/lib/magician/magician magician /usr/lib/magician/magician-1.00 100
fi
#DEBHELPER#
exit 0