summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-01-16 21:11:46 +0000
committerBill Nottingham <notting@redhat.com>2003-01-16 21:11:46 +0000
commit972c3c78379e21e583981e4e5caa8f5658c36905 (patch)
tree3649d392f3776e10102aae777bdb4db2f5663f27 /packages.py
parentb69cbd920b47e5416c55eb66b69ca9e422426d46 (diff)
downloadanaconda-972c3c78379e21e583981e4e5caa8f5658c36905.tar.gz
anaconda-972c3c78379e21e583981e4e5caa8f5658c36905.tar.xz
anaconda-972c3c78379e21e583981e4e5caa8f5658c36905.zip
don't traceback if we don't have lvm for some reason
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages.py b/packages.py
index c010e7422..98721806e 100644
--- a/packages.py
+++ b/packages.py
@@ -1108,6 +1108,7 @@ def doPostInstall(method, id, intf, instPath):
# XXX hack - we should really write a proper /etc/lvmtab. but for now
# just create the lvmtab if they have /sbin/vgscan and some VGs
if (os.access(instPath + "/sbin/vgscan", os.X_OK) and
+ os.access(instPath + "/proc/lvm", os.R_OK) and
len(os.listdir("/proc/lvm/VGs")) > 0):
rc = iutil.execWithRedirect("/sbin/vgscan",
["vgscan", "-v"],