Changeset 20 for trunk/postinst


Ignore:
Timestamp:
11/05/07 18:36:43 (16 years ago)
Author:
adi
Message:

patches for torque-2.2.1. Also

  • overwrite /etc/default/torque
  • fix permissions in /var/spool/torque
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/postinst

    r14 r20  
    8383
    8484
    85 if [ "$1" = configure -a ! -f $CONFIG_FILE ]
     85if [ "$1" = configure -o ! -f $CONFIG_FILE ]
    8686then
    8787        create_default_torque_file
     
    114114fi
    115115chmod 1777 $SPOOLDIR/spool
     116chmod 1777 $SPOOLDIR/undelivered
    116117
     118
     119# pbs_sched needs a subdir not created by pbs_mkdirs.
     120if [ ! -d $SPOOLDIR/sched_priv/accounting ]
     121then
     122    mkdir $SPOOLDIR/sched_priv/accounting
     123fi
    117124
    118125#
Note: See TracChangeset for help on using the changeset viewer.