Use full path to the db command so it also work during bootstrap-console-save

tags/wpkg-sogo-addons-31.0.6-0.beta1 24.0.4_el5
Daniel Berteaud 11 years ago
parent 951ba025c1
commit fe54d9b9d0
  1. 2
      packages/sogo-addons.xml
  2. 4
      root/etc/e-smith/events/actions/sogo-update-addons

@ -3,7 +3,7 @@
<packages> <packages>
<package id="sogo-addons" <package id="sogo-addons"
name="Addons SOGo" name="Addons SOGo"
revision="13" revision="14"
reboot="false" reboot="false"
priority="10"> priority="10">

@ -4,8 +4,8 @@ TMP=$(mktemp -d)
cd $TMP cd $TMP
unzip /home/e-smith/files/shares/wpkg/files/softwares/thunderbird_addons/sogo-integrator*sogo-demo.xpi 2>&1 > /dev/null unzip /home/e-smith/files/shares/wpkg/files/softwares/thunderbird_addons/sogo-integrator*sogo-demo.xpi 2>&1 > /dev/null
HOSTNAME=$(db configuration get SystemName) HOSTNAME=$(/sbin/e-smith/db configuration get SystemName)
DOMAINNAME=$(db configuration get DomainName) DOMAINNAME=$(/sbin/e-smith/db configuration get DomainName)
cat <<HERE > ./chrome/content/extensions.rdf cat <<HERE > ./chrome/content/extensions.rdf
<?xml version="1.0"?> <?xml version="1.0"?>

Loading…
Cancel
Save