[SCM] TANGO distributed control system. branch, master, updated. debian/6.1.1c-1-117-g1c5d150
Picca Frédéric-Emmanuel
picca at synchrotron-soleil.fr
Sat Dec 18 15:47:09 UTC 2010
The following commit has been merged in the master branch:
commit 1c5d15026313a58bdb2c726bb3161d7e834d45d6
Author: Picca Frédéric-Emmanuel <picca at synchrotron-soleil.fr>
Date: Sat Dec 18 10:46:19 2010 -0500
* solve the tango-common/tango-host bad first initialisation
diff --git a/debian/tango-common.config b/debian/tango-common.config
index 084ca46..667b1a3 100644
--- a/debian/tango-common.config
+++ b/debian/tango-common.config
@@ -11,7 +11,11 @@ if [ -e $CONFIGFILE ]; then
# debconf db.
db_set tango-common/tango-host "$TANGO_HOST"
else
- db_set tango-common/tango-host $(hostname -f)":10000"
+ if db_fget tango-common/tango-host seen; then
+ if [ "$RET" = "false" ]; then
+ db_set tango-common/tango-host $(hostname -f)":10000"
+ fi
+ fi
fi
--
TANGO distributed control system.
More information about the debian-science-commits
mailing list