/usr/bin/gnuplot symlinks packageing problems were fixed gor gnuplot-x11
[gnuplot] / debian / gnuplot-x11.preinst
1 #!/bin/sh -e
2
3 if [ "$1" = install ] || [ "$1" = upgrade ] ; then
4         dpkg-divert --add --package gnuplot-x11 --rename \
5                 --divert /opt/maemo/usr/bin/gnuplot-nox /opt/maemo/usr/bin/gnuplot
6         dpkg-divert --add --package gnuplot-x11 --rename \
7                 --divert /usr/bin/gnuplot-nox /usr/bin/gnuplot
8                 
9 fi
10
11 #DEBHELPER#
12
13 exit 0