summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-08-14 22:04:28 +0000
committerJeremy Katz <katzj@redhat.com>2002-08-14 22:04:28 +0000
commitd46f11bd1221b072d80e37e3ef043bfb1e8eabb0 (patch)
treec1aa2c3b740450e7ded6bcbd51e66b29254807a3 /upgrade.py
parenta52640636e28c02797352ce50a6f8ea49cff8ecc (diff)
downloadanaconda-d46f11bd1221b072d80e37e3ef043bfb1e8eabb0.tar.gz
anaconda-d46f11bd1221b072d80e37e3ef043bfb1e8eabb0.tar.xz
anaconda-d46f11bd1221b072d80e37e3ef043bfb1e8eabb0.zip
add /bin/sh to the list of things to check for relative symlinks
Diffstat (limited to 'upgrade.py')
-rw-r--r--upgrade.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/upgrade.py b/upgrade.py
index 53013e317..1f1110fed 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -237,7 +237,8 @@ def upgradeMountFilesystems(intf, rootInfo, oldfsset, instPath):
sys.exit(0)
checkLinks = ( '/etc', '/var', '/var/lib', '/var/lib/rpm',
- '/boot', '/tmp', '/var/tmp', '/root' )
+ '/boot', '/tmp', '/var/tmp', '/root',
+ '/bin/sh')
badLinks = []
for n in checkLinks:
if not os.path.islink(instPath + n): continue