summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-config
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-09-08 20:14:05 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-09-08 20:14:05 (GMT)
commit95bfe5ff669cf3a9ab9b6791e49567b4be8dab03 (patch)
tree8caa98ed69db000fb537ee44574e839c2b3872ec /abs/core-testing/LinHES-config
parent065ac482f15d766fea7a2a8cd5e763d642ca3a9a (diff)
downloadlinhes_pkgbuild-95bfe5ff669cf3a9ab9b6791e49567b4be8dab03.zip
linhes_pkgbuild-95bfe5ff669cf3a9ab9b6791e49567b4be8dab03.tar.gz
linhes_pkgbuild-95bfe5ff669cf3a9ab9b6791e49567b4be8dab03.tar.bz2
linhes-config: catch the error when trying to create etcnet dir
Diffstat (limited to 'abs/core-testing/LinHES-config')
-rw-r--r--abs/core-testing/LinHES-config/PKGBUILD2
-rwxr-xr-xabs/core-testing/LinHES-config/mv_network.py5
2 files changed, 5 insertions, 2 deletions
diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD
index bc36fc0..31b9ffb 100644
--- a/abs/core-testing/LinHES-config/PKGBUILD
+++ b/abs/core-testing/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-config
pkgver=2.0
-pkgrel=94
+pkgrel=96
conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev )
pkgdesc="Install and configure your system"
depends=(bc libstatgrab mysql-python expect curl dnsutils parted
diff --git a/abs/core-testing/LinHES-config/mv_network.py b/abs/core-testing/LinHES-config/mv_network.py
index 3f8de3b..b80e4cc 100755
--- a/abs/core-testing/LinHES-config/mv_network.py
+++ b/abs/core-testing/LinHES-config/mv_network.py
@@ -263,7 +263,10 @@ def setup_interface(netdev,systemconfig):
optionfile=etcnetdir+"/"+netdev+"/options"
if not os.path.exists(optionfile):
- os.makedirs(etcnetdir+"/"+netdev)
+ try:
+ os.makedirs(etcnetdir+"/"+netdev)
+ except:
+ pass
mv_common.cp_and_log(systemconfig["TEMPLATES"]+"/etcnet/eth/options", optionfile)
if netinfo["isactive"] == "1" :