mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -07:00
Conditional gpg.
This commit is contained in:
@@ -183,6 +183,8 @@ install_ssh_keys() {
|
||||
}
|
||||
|
||||
install_gpg_keys() {
|
||||
which gpg >/dev/null 2>&1 || \
|
||||
return 0
|
||||
local key
|
||||
for key in ${BASEDIR}/keys/gpg/* ; do
|
||||
gpg --import < ${key} >/dev/null
|
||||
|
||||
Reference in New Issue
Block a user