From 3fbd37b0c0d92c2fd1431ed293bd8f82c0f6ed85 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Fri, 25 Nov 2011 11:39:50 -0600
Subject: 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

---
 abs/core/LinHES-config/PKGBUILD      | 2 +-
 abs/core/LinHES-config/mv_install.py | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

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()
-- 
cgit v0.12

