Ignore:
Timestamp:
06/04/08 16:41:16 (4 years ago)
Author:
bruno
Message:

Still working on post install scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/dploy-common/install.sh

    r56 r62  
    99else 
    1010    local=/usr/local 
    11         echo $PATH | grep $local/bin > /dev/null || echo "Warning - your PATH environmental variable is BROKEN. Please add $local/bin to your PATH." 
     11    echo $PATH | grep $local/bin > /dev/null || echo "Warning - your PATH environmental variable is BROKEN. Please add $local/bin to your PATH." 
    1212    conf=$local/$CONFDIR 
    1313fi 
     
    2121install -m 0644 etc/dploy.conf $conf 
    2222 
     23# Post install script 
     24install -m 0755 bin/dploy-common-post $local/bin 
     25 
     26# The script need to know where the CONFDIR is 
     27perl -pi -e "s|PBCONF|$conf|" $local/bin/dploy-common-post 
     28 
    2329# Handling keys 
    2430ssh-keygen -b 1024 -t dsa -f $conf/keys/dploy_id_dsa -q -N "" 
Note: See TracChangeset for help on using the changeset viewer.