diff options
author | James Meyer <james.meyer@operamail.com> | 2011-11-25 17:39:50 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2011-11-25 17:39:50 (GMT) |
commit | 3fbd37b0c0d92c2fd1431ed293bd8f82c0f6ed85 (patch) | |
tree | 980b164441b3af03d2a80af3986afb1adc58915c /abs/core/LinHES-config/mv_install.py | |
parent | 08f02759a0e1fac5e8f387bcc85a7ed5805d9100 (diff) | |
download | linhes_pkgbuild-3fbd37b0c0d92c2fd1431ed293bd8f82c0f6ed85.zip linhes_pkgbuild-3fbd37b0c0d92c2fd1431ed293bd8f82c0f6ed85.tar.gz linhes_pkgbuild-3fbd37b0c0d92c2fd1431ed293bd8f82c0f6ed85.tar.bz2 |
linhes-config: init oldfscontents.
If for some reason /etc/fstab can not be found, we did to give oldfscontents
an init value. Without this the upgrade process will fail
Diffstat (limited to 'abs/core/LinHES-config/mv_install.py')
-rwxr-xr-x | abs/core/LinHES-config/mv_install.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/abs/core/LinHES-config/mv_install.py b/abs/core/LinHES-config/mv_install.py index e251291..922b921 100755 --- a/abs/core/LinHES-config/mv_install.py +++ b/abs/core/LinHES-config/mv_install.py @@ -1175,6 +1175,7 @@ def upgrade_mount_search(): runcmd(cmd) fstab_list = [] fstab_data_mount = '' + oldfscontents="#" try: f = open("/tmp/etc/fstab", 'r') oldfscontents = f.readlines() |