summaryrefslogtreecommitdiffstats
path: root/upd-instroot
diff options
context:
space:
mode:
authorjakub <jakub>1999-10-12 11:23:35 +0000
committerjakub <jakub>1999-10-12 11:23:35 +0000
commit1c5e4865148312383973d61b815eed693a672f2d (patch)
tree142acde09d507e0ca50ddb66cb17b2c4f2688467 /upd-instroot
parentfe6fc143b0cc1560fa380f5e965f2af670105488 (diff)
downloadanaconda-1c5e4865148312383973d61b815eed693a672f2d.tar.gz
anaconda-1c5e4865148312383973d61b815eed693a672f2d.tar.xz
anaconda-1c5e4865148312383973d61b815eed693a672f2d.zip
Make the update more NFS friendly.
Diffstat (limited to 'upd-instroot')
-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