1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
#!/bin/sh
set -e
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
update-alternatives --install /usr/bin/gnuplot gnuplot /usr/bin/gnuplot5-x11 60 \
--slave /usr/share/man/man1/gnuplot.1.gz gnuplot.1.gz \
/usr/share/man/man1/gnuplot5-x11.1.gz \
--slave /usr/share/gnuplot5/gnuplot.gih gnuplot5.gih \
/usr/share/gnuplot5/gnuplot5-x11.gih
update-alternatives --install /usr/bin/gnuplot5 gnuplot5 /usr/bin/gnuplot5-x11 60 \
--slave /usr/share/man/man1/gnuplot5.1.gz gnuplot5.1.gz \
/usr/share/man/man1/gnuplot5-x11.1.gz
fi
#DEBHELPER#
|