fix update script

tags/0.0.1
Daniel Berteaud 13 years ago
parent 58bed7335d
commit b5a2fcbc5b
  1. 2
      ipasserelle-gp.spec
  2. 2
      root/etc/e-smith/events/actions/wpkg-update-packages
  3. 2
      root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/fusioninventory/fusioninventory_x86.reg/10All

@ -1,5 +1,5 @@
%define version 0.0.1 %define version 0.0.1
%define release 1.beta6 %define release 1.beta7
%define name ipasserelle-gp %define name ipasserelle-gp

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
USER=$(db configuration getprop wpkg RsyncUser || echo $(db configuration get DomainName)) 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) 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/ RSYNC_PASSWORD=$PASS /usr/bin/rsync -rtPz $USER@$SERVER /home/e-smith/files/shares/wpkg/files/

@ -7,7 +7,7 @@ my $user = ${'fusioninventory-agent'}{'User'} || $DomainName;
my $pass = ${'fusioninventory-agent'}{'Password'} || 'secret'; my $pass = ${'fusioninventory-agent'}{'Password'} || 'secret';
my $out .=<"EOF"; my $out .=<"EOF";
[HKEY_LOCAL_MACHINE\SOFTWARE\FusionInventory-Agent] [HKEY_LOCAL_MACHINE\\SOFTWARE\\FusionInventory-Agent]
"server"="$server" "server"="$server"
"tag"="$DomainName" "tag"="$DomainName"
"user"="$user" "user"="$user"

Loading…
Cancel
Save