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

svn-commits at proxmox.com svn-commits at proxmox.com
Thu Dec 16 06:38:24 CET 2010


Author: dietmar
Date: 2010-12-16 06:38:23 +0100 (Thu, 16 Dec 2010)
New Revision: 5345

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


Modified: dab/trunk/Makefile
===================================================================
--- dab/trunk/Makefile	2010-12-16 04:48:00 UTC (rev 5344)
+++ dab/trunk/Makefile	2010-12-16 05:38:23 UTC (rev 5345)
@@ -1,6 +1,6 @@
 VERSION=1.1
 PACKAGE=dab
-PKGREL=9
+PKGREL=10
 
 
 SCRIPTS=        				\

Modified: dab/trunk/changelog.Debian
===================================================================
--- dab/trunk/changelog.Debian	2010-12-16 04:48:00 UTC (rev 5344)
+++ dab/trunk/changelog.Debian	2010-12-16 05:38:23 UTC (rev 5345)
@@ -1,3 +1,9 @@
+dab (1.1-10) unstable; urgency=low
+
+  * use '=' instead of '==' to compare strings in shell scripts
+
+ -- Proxmox Support Team <support at proxmox.com>  Thu, 16 Dec 2010 06:37:54 +0100
+
 dab (1.1-9) unstable; urgency=low
 
   * correct update-rc.d invocation (add '.' after runlevel)

Modified: dab/trunk/scripts/mysql_randompw
===================================================================
--- dab/trunk/scripts/mysql_randompw	2010-12-16 04:48:00 UTC (rev 5344)
+++ dab/trunk/scripts/mysql_randompw	2010-12-16 05:38:23 UTC (rev 5345)
@@ -12,9 +12,9 @@
 
 set -e
 
-HOSTNAME=`head -n 1 /etc/hostname|awk '{ print $1; }'`
+HOSTNAME=`head -n 1 /etc/hostname|awk '{ prin2t $1; }'`
 
-if [ "X${HOSTNAME}" == "Xlocalhost" ] ; then
+if [ "X${HOSTNAME}" = "Xlocalhost" ] ; then
     exit 0;
 fi
 




More information about the pve-devel mailing list