Ignore:
Timestamp:
10/08/2007 17:12:27 (5 years ago)
Author:
arjun
Message:

Commiting 1.5.5a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/confman-1.5.5a/confmancommon.sh

    r142 r177  
    5151fi 
    5252 
     53# Test if the specified group exists before setting folder groups 
    5354if ! [ -d "$REPO_DB" ] ; then 
    54     sudo install -d -o root -g $CONF_GROUP -m 770 "$REPO_DB" 
    55     sudo chmod g+s "$REPO_DB" 
     55        if ! [ conf_checkgroup ]; then 
     56                sudo install -d -o root -m 770 "$REPO_DB" 
     57        else 
     58                sudo install -d -o root -g $CONF_GROUP -m 770 "$REPO_DB" 
     59        fi 
     60        sudo chmod g+s "$REPO_DB" 
    5661fi 
    5762 
     
    8186 
    8287# And we'll set a trap: 
    83 trap "conf_cleanexit" SIGINT SIGTERM SIGHUP 
     88trap "conf_cleanExit" SIGINT SIGTERM SIGHUP 
    8489 
Note: See TracChangeset for help on using the changeset viewer.