summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-04-30 21:55:02 +0000
committerMatt Wilson <msw@redhat.com>1999-04-30 21:55:02 +0000
commitc423d30c0e600c235c26f7ec4838b2de6d85adef (patch)
tree0f204fb5854300234fd432f69fe86d27fe867a6d /anaconda
parentca15edceb8597ba2343bfc81d44df0a433af9578 (diff)
downloadanaconda-c423d30c0e600c235c26f7ec4838b2de6d85adef.tar.gz
anaconda-c423d30c0e600c235c26f7ec4838b2de6d85adef.tar.xz
anaconda-c423d30c0e600c235c26f7ec4838b2de6d85adef.zip
1) Make directory for RPM database before opening it
2) GUI updates for package installation callback
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda8
1 files changed, 8 insertions, 0 deletions
diff --git a/anaconda b/anaconda
index 22f52a6dc..3032155fb 100755
--- a/anaconda
+++ b/anaconda
@@ -90,6 +90,14 @@ intf.popWaitWindow(w)
intf.run(hdlist, rootPath)
comps['Base'].select(1)
+
+try:
+ os.mkdir(rootPath + '/var')
+ os.mkdir(rootPath + '/var/lib')
+ os.mkdir(rootPath + '/var/lib/rpm')
+except:
+ print "error creating directory"
+
db = rpm.opendb(1, rootPath)
ts = rpm.TransactionSet(rootPath, db)