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 | |
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')
-rw-r--r-- | abs/core/LinHES-config/PKGBUILD | 2 | ||||
-rwxr-xr-x | abs/core/LinHES-config/mv_install.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD index cc8b151..3d727cb 100644 --- a/abs/core/LinHES-config/PKGBUILD +++ b/abs/core/LinHES-config/PKGBUILD @@ -1,6 +1,6 @@ pkgname=LinHES-config pkgver=2.3 -pkgrel=46 +pkgrel=47 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev LinHes-config ) pkgdesc="Install and configure your system" depends=('bc' 'libstatgrab' 'mysql-python' 'expect' 'curl' 'dnsutils' 'parted' 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() |