[pve-devel] r5104 - dab/trunk

svn-commits at proxmox.com svn-commits at proxmox.com
Thu Sep 9 11:21:19 CEST 2010


Author: dietmar
Date: 2010-09-09 09:21:19 +0000 (Thu, 09 Sep 2010)
New Revision: 5104

Modified:
   dab/trunk/DAB.pm
   dab/trunk/Makefile
   dab/trunk/changelog.Debian
Log:


Modified: dab/trunk/DAB.pm
===================================================================
--- dab/trunk/DAB.pm	2010-09-09 08:49:54 UTC (rev 5103)
+++ dab/trunk/DAB.pm	2010-09-09 09:21:19 UTC (rev 5104)
@@ -1544,7 +1544,9 @@
  
     $self->ve_dpkg ('install', @$required);
 
-    $self->ve_command ("/etc/init.d/postgresql-$pgversion start") if $opts->{start};
+    my $iscript = $suite eq 'squeeze' ? 'postgresql' : "postgresql-$pgversion";
+
+    $self->ve_command ("/etc/init.d/$iscript start") if $opts->{start};
 }
 
 sub task_mysql {

Modified: dab/trunk/Makefile
===================================================================
--- dab/trunk/Makefile	2010-09-09 08:49:54 UTC (rev 5103)
+++ dab/trunk/Makefile	2010-09-09 09:21:19 UTC (rev 5104)
@@ -1,6 +1,6 @@
 VERSION=1.1
 PACKAGE=dab
-PKGREL=7
+PKGREL=8
 
 
 SCRIPTS=        				\

Modified: dab/trunk/changelog.Debian
===================================================================
--- dab/trunk/changelog.Debian	2010-09-09 08:49:54 UTC (rev 5103)
+++ dab/trunk/changelog.Debian	2010-09-09 09:21:19 UTC (rev 5104)
@@ -1,3 +1,9 @@
+dab (1.1-8) unstable; urgency=low
+
+  * fix postgres startup script for squeeze
+
+ -- Proxmox Support Team <support at proxmox.com>  Thu, 09 Sep 2010 11:19:27 +0200
+
 dab (1.1-7) unstable; urgency=low
 
   * support dependency based startup (squeeze)




More information about the pve-devel mailing list