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/gnuplot4-x11 30 \
--slave /usr/share/man/man1/gnuplot.1.gz gnuplot.1.gz \
/usr/share/man/man1/gnuplot4-x11.1.gz \
--slave /usr/share/gnuplot/gnuplot.gih gnuplot4.gih \
/usr/share/gnuplot/gnuplot4-x11.gih
update-alternatives --install /usr/bin/gnuplot4 gnuplot4 /usr/bin/gnuplot4-x11 30 \
--slave /usr/share/man/man1/gnuplot4.1.gz gnuplot4.1.gz \
/usr/share/man/man1/gnuplot4-x11.1.gz
fi
#DEBHELPER#
|