hopefully fixed date

This commit is contained in:
Jan Christian Grünhage 2016-08-25 20:49:13 +00:00 committed by Gogs
parent 424e172f10
commit e6d7c660c5

View file

@ -13,17 +13,17 @@ echo -n "Application Name (ssh key):"
read application
echo -n "Hostname (ssh key):"
read hostname
comment=`date +%Y%m%d - $application - $hostname`
DATE=`date +%Y%m%d`
comment="$DATE - $application - $hostname"
ssh-keygen -t rsa -b 8192 -C comment
cat ~.ssh/id_rsa.pub
echo "Insert this SSH key into gogs before you continue."
pause
cd ~
git clone ssh://git@jcg.re:10022/jcgruenhage/.password-store.git
gpg2 --keyserver hkp://pool.sks-keyservers.net --recv-keys 691C036821A1C2A05415F572F338AD3815B5D61C 33BD6633839B232E1A24BF4262BEE5EB8F370DC6
pause() {
read -n1 -rsp $'Press any key to continue...\n'
}