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/bin/dploy-common-post

    r61 r62  
    5959chmod 0700,"$dir/.ssh"; 
    6060my $keyf = "$dir/.ssh/authorized_keys"; 
    61 my $pubf = "$ENV{'CONFDIR'}/keys/dploy_id_dsa.pub"; 
     61my $pubf = "PBCONF/keys/dploy_id_dsa.pub"; 
    6262 
    6363# Adds our key to that account authorized_keys 
     
    7676    close(KEYF); 
    7777 
    78     if ($found == 1) { 
     78    if ($found == 0) { 
    7979        open(KEYF,">> $keyf") || die "Unable to append to $keyf: $!"; 
    8080        print KEYF "$prot $key $mail"; 
Note: See TracChangeset for help on using the changeset viewer.