Added check for local key
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
#!/bin/sh
|
||||
gpg --quiet --batch --yes --decrypt --passphrase="$GPG_KEY" --output ./ignore.tar.gz ignore.tar.gz.gpg
|
||||
if test -z ${BOBBY_GPG+y}
|
||||
then
|
||||
gpg --quiet --batch --yes --decrypt --passphrase="$GPG_KEY" --output ./ignore.tar.gz ignore.tar.gz.gpg
|
||||
else
|
||||
gpg --quiet --batch --yes --decrypt --passphrase="$BOBBY_GPG" --output ./ignore.tar.gz ignore.tar.gz.gpg
|
||||
fi
|
||||
tar xzf ignore.tar.gz
|
||||
|
Reference in New Issue
Block a user