Changeset 62 for devel/dploy-common/bin/dploy-common-post
- Timestamp:
- 06/04/08 16:41:16 (4 years ago)
- File:
-
- 1 edited
-
devel/dploy-common/bin/dploy-common-post (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
devel/dploy-common/bin/dploy-common-post
r61 r62 59 59 chmod 0700,"$dir/.ssh"; 60 60 my $keyf = "$dir/.ssh/authorized_keys"; 61 my $pubf = " $ENV{'CONFDIR'}/keys/dploy_id_dsa.pub";61 my $pubf = "PBCONF/keys/dploy_id_dsa.pub"; 62 62 63 63 # Adds our key to that account authorized_keys … … 76 76 close(KEYF); 77 77 78 if ($found == 1) {78 if ($found == 0) { 79 79 open(KEYF,">> $keyf") || die "Unable to append to $keyf: $!"; 80 80 print KEYF "$prot $key $mail";
Note: See TracChangeset
for help on using the changeset viewer.
