summaryrefslogtreecommitdiffstats
path: root/upd-instroot
diff options
context:
space:
mode:
authorjakub <jakub>1999-10-12 08:53:26 +0000
committerjakub <jakub>1999-10-12 08:53:26 +0000
commitfe6fc143b0cc1560fa380f5e965f2af670105488 (patch)
tree1dbb296e26c33e03a71166d668c435a9bbd0f15d /upd-instroot
parent9fdba5ab2a77dfc2e06fd957f3164c9bbc7121d0 (diff)
downloadanaconda-fe6fc143b0cc1560fa380f5e965f2af670105488.tar.gz
anaconda-fe6fc143b0cc1560fa380f5e965f2af670105488.tar.xz
anaconda-fe6fc143b0cc1560fa380f5e965f2af670105488.zip
Make users of one well known crappy OS happy, GTK.py is gone in
instimage (patched into gtk.py).
Diffstat (limited to 'upd-instroot')
-rwxr-xr-xupd-instroot6
1 files changed, 6 insertions, 0 deletions
diff --git a/upd-instroot b/upd-instroot
index 5ae800236..b43ba8585 100755
--- a/upd-instroot
+++ b/upd-instroot
@@ -297,6 +297,12 @@ patch -p0 <<EOF
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
+
pythondeps $DEST
for p in $DEST $DESTGR; do