repo fix
This commit is contained in:
parent
e33d0e8617
commit
559a8cac05
2
autoinit
2
autoinit
@ -33,7 +33,7 @@ if [ -f $HOME/.ssh/gogs.pub ]; then
|
|||||||
printf "Gogs deploy key is present\n" >&2
|
printf "Gogs deploy key is present\n" >&2
|
||||||
else
|
else
|
||||||
mkdir -p $HOME/.ssh/
|
mkdir -p $HOME/.ssh/
|
||||||
ssh-keygen -f $HOME/.ssh/gogs -t rsa -N ''
|
ssh-keygen -f $HOME/.ssh/gogs
|
||||||
chmod 400 $HOME/.ssh/gogs
|
chmod 400 $HOME/.ssh/gogs
|
||||||
chmod 400 $HOME/.ssh/gogs.pub
|
chmod 400 $HOME/.ssh/gogs.pub
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user