Ignore:
Timestamp:
05/22/13 12:44:21 (10 years ago)
Author:
ramonb
Message:

debian/control:

  • depend on Ganglia 3.3.8

debian/*.postinst:

  • (de)configure is actually called on upgrade
  • changed upgrade logic to check if $2 is empty

debian/jobmonarch-webfrontend.prerm:

  • only print warning upon removal

debian/jobmonarch-jobmond.prerm, debian/jobmonarch-jobarchived.prerm:

  • only disable runlevel symlinks on removal
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.0/debian/jobmonarch-jobmond.postinst

    r891 r896  
    55set -e
    66
    7 case "$1" in
    8     configure)
    9         # Only on install (not during upgrade)
     7if [ -z "$2" ]
     8then
     9    # Only on install (not during upgrade)
    1010
    11         if [ -x /etc/init.d/jobmond ]
    12         then
    13             update-rc.d -f jobmond defaults
    14         fi
     11    if [ -x /etc/init.d/jobmond ]
     12    then
     13        update-rc.d -f jobmond defaults
     14    fi
    1515
    16         echo ""
    17         echo "Additional manual changes are required to setup jobmond:"
    18         echo ""
    19         echo "1) Edit /etc/jobmond.conf to reflect your local settings and setup:"
    20         echo "   - BATCH_API: pbs, slurm, sge (experimental), lsf (experimental)"
    21         echo "2) Install the python interface to the selected batch queuing system"
    22         echo "   - pbs-python (for pbs or torque)"
    23         echo "   - python-pyslurm (for slurm)"
    24         echo "   - pythongrid (for sge)"
    25         echo "   - python-pylsf (for lsf)"
    26         echo ""
    27 
    28         ;;
    29     *)
    30         ;;
    31 esac
     16    echo ""
     17    echo "Additional manual changes are required to setup jobmond:"
     18    echo ""
     19    echo "1) Edit /etc/jobmond.conf to reflect your local settings and setup:"
     20    echo "   - BATCH_API: pbs, slurm, sge (experimental), lsf (experimental)"
     21    echo "2) Install the python interface to the selected batch queuing system"
     22    echo "   - pbs-python (for pbs or torque)"
     23    echo "   - python-pyslurm (for slurm)"
     24    echo "   - python-pylsf (for lsf)"
     25    echo ""
     26else
     27    # This is a upgrade
     28    :
     29fi
    3230
    3331exit 0
Note: See TracChangeset for help on using the changeset viewer.