Maemo "optification" was added
[gnuplot] / debian / gnuplot-nox.postinst
index ead2f26..4a7e5f9 100644 (file)
@@ -25,10 +25,10 @@ fi
 
 # also delete the eventual statoverride (if set)
 set +e
-dpkg-statoverride --remove /usr/bin/gnuplot > /dev/null 2>&1
+dpkg-statoverride --remove /opt/maemo/usr/bin/gnuplot > /dev/null 2>&1
 set -e
 
 # ... and finally reset a possibly set suid-flag
-chmod 755 /usr/bin/gnuplot
+chmod 755 /opt/maemo/usr/bin/gnuplot
 
 #DEBHELPER#