Ignore:
Timestamp:
05/16/13 17:24:07 (9 years ago)
Author:
olahaye
Message:

[debian packaging: jobmonarch-jobmond.postinst & jobmonarch-jobarchived.postinst] Add logic to prevent useless messages to appear during upgrade.

File:
1 edited

Legend:

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

    r846 r872  
    33PATH=/bin:/sbin:/usr/bin:/usr/sbin
    44
    5 if [ -x /etc/init.d/jobmond ]
    6         then
     5set -e
    76
    8                 update-rc.d -f jobmond defaults
     7case "$1" in
     8    configure)
     9        # Only on install (not during upgrade)
    910
    10 fi
     11        if [ -x /etc/init.d/jobmond ]
     12        then
     13            update-rc.d -f jobmond defaults
     14        fi
    1115
    12 /etc/init.d/jobmond restart
     16        echo ""
     17        echo "Additional manual changes are required to setup jobmond:"
     18        echo ""
     19        echo "Edit /etc/jobmond.conf to reflect your local settings and setup:"
     20        echo "   - BATCH_API: pbs, slurm, sge (experimental), lsf (experimental)"
     21        echo ""
     22
     23        ;;
     24    *)
     25        ;;
     26esac
     27
     28exit 0
Note: See TracChangeset for help on using the changeset viewer.