diff options
author | 2014-05-04 10:16:44 +0530 | |
---|---|---|
committer | 2014-05-07 19:09:55 +0530 | |
commit | 0e1d33f4a87535fa862ba7bbfcba916c812e093c (patch) | |
tree | 4ce2d5488498897ba0a2492b84d1c696a4bb6ce9 /src/triggers/post-compile/ssh-authkeys | |
parent | mirroring: save and print mirror-push status... (diff) | |
download | gitolite-gentoo-0e1d33f4a87535fa862ba7bbfcba916c812e093c.tar.gz gitolite-gentoo-0e1d33f4a87535fa862ba7bbfcba916c812e093c.tar.bz2 gitolite-gentoo-0e1d33f4a87535fa862ba7bbfcba916c812e093c.zip |
ssh-authkeys: make authkey creation warning less scary
Diffstat (limited to 'src/triggers/post-compile/ssh-authkeys')
-rwxr-xr-x | src/triggers/post-compile/ssh-authkeys | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/triggers/post-compile/ssh-authkeys b/src/triggers/post-compile/ssh-authkeys index 9e0f059..4533a4c 100755 --- a/src/triggers/post-compile/ssh-authkeys +++ b/src/triggers/post-compile/ssh-authkeys @@ -75,8 +75,9 @@ sub sanity { _die "'$glshell' found but not readable; this should NOT happen..." if not -r $glshell; _die "'$glshell' found but not executable; this should NOT happen..." if not -x $glshell; - _warn "$akdir missing; creating a new one" if not -d $akdir; - _warn "$akfile missing; creating a new one" if not -f $akfile; + my $n = " (this is normal on a brand new install)"; + _warn "$akdir missing; creating a new one\n$n" if not -d $akdir; + _warn "$akfile missing; creating a new one\n$n" if not -f $akfile; _mkdir( $akdir, 0700 ) if not -d $akdir; if ( not -f $akfile ) { |