summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-11-25 17:39:50 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-11-25 17:39:50 (GMT)
commit3fbd37b0c0d92c2fd1431ed293bd8f82c0f6ed85 (patch)
tree980b164441b3af03d2a80af3986afb1adc58915c /abs/core
parent08f02759a0e1fac5e8f387bcc85a7ed5805d9100 (diff)
downloadlinhes_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/PKGBUILD2
-rwxr-xr-xabs/core/LinHES-config/mv_install.py1
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()