Changeset 867


Ignore:
Timestamp:
05/16/13 10:35:16 (9 years ago)
Author:
olahaye
Message:

[jobmonarch.spec.in] Only ask to update ganglia config upon first install.
It is misleading to ask for that upon upgrade.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.0/pkg/rpm/jobmonarch.spec.in

    r861 r867  
    147147
    148148%post -n jobmonarch-webfrontend
    149 echo "Make sure to set your Ganglia template to job_monarch now"
    150 echo ""
    151 echo "In your Ganglia conf.php, set this line:"
    152 echo "\$template_name = \"job_monarch\";"
     149if [ "$1" = 1 ]; then
     150    echo "Make sure to set your Ganglia template to job_monarch now"
     151    echo ""
     152    echo "In your Ganglia conf.php, set this line:"
     153    echo "\$template_name = \"job_monarch\";"
     154fi
    153155
    154156%preun -n jobmonarch-jobmond
Note: See TracChangeset for help on using the changeset viewer.