summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-13 15:23:50 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-13 15:23:50 (GMT)
commit1862c1b11587bc47f9b3e4bd47c999ff0bf83525 (patch)
tree6c9db26f46b0a8d2918b10895a9188a6131d56e5
parent803fa99088f950fb7d1e2b6ee465a80ed3ffbee8 (diff)
downloadlinhes_pkgbuild-1862c1b11587bc47f9b3e4bd47c999ff0bf83525.zip
linhes_pkgbuild-1862c1b11587bc47f9b3e4bd47c999ff0bf83525.tar.gz
linhes_pkgbuild-1862c1b11587bc47f9b3e4bd47c999ff0bf83525.tar.bz2
Stop the annoying error message that /tmp/.install_state can not be found.
-rwxr-xr-xabs/core-testing/LinHES-config/PKGBUILD2
-rwxr-xr-xabs/core-testing/LinHES-config/install_proxy.sh7
2 files changed, 7 insertions, 2 deletions
diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD
index 030d976..a489ba7 100755
--- a/abs/core-testing/LinHES-config/PKGBUILD
+++ b/abs/core-testing/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-config
pkgver=1.0
-pkgrel=6
+pkgrel=8
conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev )
pkgdesc="Install and configure your system"
depends=(bc libstatgrab mysql-python expect curl dnsutils parted sg3_utils nmbscan)
diff --git a/abs/core-testing/LinHES-config/install_proxy.sh b/abs/core-testing/LinHES-config/install_proxy.sh
index bc89a1d..a0630c6 100755
--- a/abs/core-testing/LinHES-config/install_proxy.sh
+++ b/abs/core-testing/LinHES-config/install_proxy.sh
@@ -480,7 +480,12 @@ echo "-----------------------------------------------------------------------3--
* )
- state=`cat /tmp/.install_state`
+ if [ -f /tmp/.install_state ]
+ then
+ state=`cat /tmp/.install_state`
+ else
+ state=" "
+ fi
if [ x"${state}" = "xConfiguring system" ]
then
progress ""