From b5a2fcbc5b676777f93921c0903606929bc2c9a5 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 4 Apr 2012 17:54:56 +0200 Subject: [PATCH] fix update script --- ipasserelle-gp.spec | 2 +- root/etc/e-smith/events/actions/wpkg-update-packages | 2 +- .../wpkg/files/settings/fusioninventory/fusioninventory_x86.reg/10All | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ipasserelle-gp.spec b/ipasserelle-gp.spec index c178b6e..087ff1c 100644 --- a/ipasserelle-gp.spec +++ b/ipasserelle-gp.spec @@ -1,5 +1,5 @@ %define version 0.0.1 -%define release 1.beta6 +%define release 1.beta7 %define name ipasserelle-gp diff --git a/root/etc/e-smith/events/actions/wpkg-update-packages b/root/etc/e-smith/events/actions/wpkg-update-packages index 798cc37..3d4d6f2 100644 --- a/root/etc/e-smith/events/actions/wpkg-update-packages +++ b/root/etc/e-smith/events/actions/wpkg-update-packages @@ -1,7 +1,7 @@ #!/bin/bash USER=$(db configuration getprop wpkg RsyncUser || echo $(db configuration get DomainName)) -PASS=$(db configuration getrpop wpkg RsyncPassword || echo secret) +PASS=$(db configuration getprop wpkg RsyncPassword || echo secret) SERVER=$(db configuration getprop wpkg RsyncServer || echo not.set) RSYNC_PASSWORD=$PASS /usr/bin/rsync -rtPz $USER@$SERVER /home/e-smith/files/shares/wpkg/files/ diff --git a/root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/fusioninventory/fusioninventory_x86.reg/10All b/root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/fusioninventory/fusioninventory_x86.reg/10All index 7050400..e895ce2 100644 --- a/root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/fusioninventory/fusioninventory_x86.reg/10All +++ b/root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/fusioninventory/fusioninventory_x86.reg/10All @@ -7,7 +7,7 @@ my $user = ${'fusioninventory-agent'}{'User'} || $DomainName; my $pass = ${'fusioninventory-agent'}{'Password'} || 'secret'; my $out .=<"EOF"; -[HKEY_LOCAL_MACHINE\SOFTWARE\FusionInventory-Agent] +[HKEY_LOCAL_MACHINE\\SOFTWARE\\FusionInventory-Agent] "server"="$server" "tag"="$DomainName" "user"="$user"