Changeset 14 for trunk/postinst


Ignore:
Timestamp:
09/12/07 09:56:30 (17 years ago)
Author:
bas
Message:

torque.config:

  • changed from low to high, it is important

postinst:

  • Fixed a bug the /etc/default/torque file was always created

changelog:

  • New torque release 2.1.9
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/postinst

    r12 r14  
    6767# Do not edit this file by hand, use
    6868#
    69 #     dpkg-reconfigure -p low torque
     69#     dpkg-reconfigure -p high torque
    7070#
    7171# instead
     
    8383
    8484
    85 if [ "$1" = configure -o ! -f $CONFIG_FILE ]
     85if [ "$1" = configure -a ! -f $CONFIG_FILE ]
    8686then
    8787        create_default_torque_file
    88 else
    89         # If old style config replace it we new one
    90         #
    91     # adi@2007-07-31: not covered by debconf
    92         OLD_CONFIG=`awk '/^HOST=/ {  print $0 }'  $CONFIG_FILE`
    93         if [ ! -z "$OLD_CONFIG" ]
    94         then
    95                 create_default_torque_file
    96         fi
    9788fi
    9889
Note: See TracChangeset for help on using the changeset viewer.