summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xupd-instroot12
1 files changed, 9 insertions, 3 deletions
diff --git a/upd-instroot b/upd-instroot
index b43ba8585..89d11ea19 100755
--- a/upd-instroot
+++ b/upd-instroot
@@ -299,9 +299,15 @@ EOF
# Don't ask for which OS is this kludge
cd $DESTGR/usr/lib/python1.5/site-packages
-sed 's/^from GTK import \*/#&/;/from GTK import \*/r GTK.py' < gtk.py > gtk.py.tmp
-mv -f gtk.py.tmp gtk.py
-rm -f GTK.py GTK.pyc
+patch <<EOF
+--- gtk.py Tue Oct 12 12:00:57 1999
++++ gtk.py Tue Oct 12 12:01:12 1999
+@@ -19 +19 @@
+-from GTK import *
++from GtkConst import *
+EOF
+mv -f GTK.py GtkConst.py
+rm -f GTK.pyc GTK.pyo
pythondeps $DEST