magician/debian/postinst
2017-05-23 16:21:35 +02:00

15 lines
358 B
Bash

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