Use batch

This commit is contained in:
Bob Mottram 2014-09-23 15:11:25 +01:00
parent 1a798d893d
commit 6340a7ef31
1 changed files with 1 additions and 1 deletions

View File

@ -872,7 +872,7 @@ function configure_gpg {
echo '%commit' >> /home/$MY_USERNAME/gpg-genkey.conf
echo '%echo Done' >> /home/$MY_USERNAME/gpg-genkey.conf
chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/gpg-genkey.conf
su - $MY_USERNAME gpg --gen-key /home/$MY_USERNAME/gpg-genkey.conf
su - $MY_USERNAME gpg --batch --gen-key /home/$MY_USERNAME/gpg-genkey.conf
shred -zu /home/$MY_USERNAME/gpg-genkey.conf
fi