Bug#123538: python-gendoc: Fix for postinst
Package: python-gendoc
Version: 0.73-5.1
Please include the following patch to make the postinst script more
robust.
Gregor
--- python-gendoc.postinst Wed Dec 19 21:44:36 2001
+++ python-gendoc.postinst.new Wed Dec 19 21:44:10 2001
@@ -15,8 +15,8 @@
case "$1" in
configure|abort-upgrade|abort-remove|abort-deconfigure)
for i in $DIRLIST ; do
- python -O /usr/lib/python$PV/compileall.py -q $i
- python /usr/lib/python$PV/compileall.py -q $i
+ /usr/bin/python$PV -O /usr/lib/python$PV/compileall.py -q $i
+ /usr/bin/python$PV /usr/lib/python$PV/compileall.py -q $i
done
;;
Reply to: