[pve-devel] r5633 - in dab/trunk: . scripts

svn-commits at proxmox.com svn-commits at proxmox.com
Wed Mar 2 07:01:52 CET 2011


Author: dietmar
Date: 2011-03-02 07:01:52 +0100 (Wed, 02 Mar 2011)
New Revision: 5633

Modified:
   dab/trunk/Makefile
   dab/trunk/changelog.Debian
   dab/trunk/scripts/mysql_randompw
   dab/trunk/scripts/ssh_gen_host_keys
Log:


Modified: dab/trunk/Makefile
===================================================================
--- dab/trunk/Makefile	2011-03-01 11:53:31 UTC (rev 5632)
+++ dab/trunk/Makefile	2011-03-02 06:01:52 UTC (rev 5633)
@@ -1,6 +1,6 @@
 VERSION=1.1
 PACKAGE=dab
-PKGREL=10
+PKGREL=11
 
 
 SCRIPTS=        				\

Modified: dab/trunk/changelog.Debian
===================================================================
--- dab/trunk/changelog.Debian	2011-03-01 11:53:31 UTC (rev 5632)
+++ dab/trunk/changelog.Debian	2011-03-02 06:01:52 UTC (rev 5633)
@@ -1,3 +1,10 @@
+dab (1.1-11) unstable; urgency=low
+
+  * use HNAME instead of HOSTNAME inside shell scripts (avoid problems
+    with new 'dash')
+
+ -- Proxmox Support Team <support at proxmox.com>  Wed, 02 Mar 2011 07:00:47 +0100
+
 dab (1.1-10) unstable; urgency=low
 
   * use '=' instead of '==' to compare strings in shell scripts

Modified: dab/trunk/scripts/mysql_randompw
===================================================================
--- dab/trunk/scripts/mysql_randompw	2011-03-01 11:53:31 UTC (rev 5632)
+++ dab/trunk/scripts/mysql_randompw	2011-03-02 06:01:52 UTC (rev 5633)
@@ -12,9 +12,9 @@
 
 set -e
 
-HOSTNAME=`head -n 1 /etc/hostname|awk '{ prin2t $1; }'`
+HNAME=`head -n 1 /etc/hostname|awk '{ prin2t $1; }'`
 
-if [ "X${HOSTNAME}" = "Xlocalhost" ] ; then
+if [ "X${HNAME}" = "Xlocalhost" ] ; then
     exit 0;
 fi
 

Modified: dab/trunk/scripts/ssh_gen_host_keys
===================================================================
--- dab/trunk/scripts/ssh_gen_host_keys	2011-03-01 11:53:31 UTC (rev 5632)
+++ dab/trunk/scripts/ssh_gen_host_keys	2011-03-02 06:01:52 UTC (rev 5633)
@@ -12,9 +12,9 @@
 
 set -e
 
-HOSTNAME=`head -n 1 /etc/hostname|awk '{ print $1; }'`
+HNAME=`head -n 1 /etc/hostname|awk '{ print $1; }'`
 
-if [ "X${HOSTNAME}" = "Xlocalhost" ] ; then
+if [ "X${HNAME}" = "Xlocalhost" ] ; then
     exit 0;
 fi
 




More information about the pve-devel mailing list