From 257da31235b21d6a41eb39d96c43871f3f080531 Mon Sep 17 00:00:00 2001 From: CrimsonTome Date: Wed, 23 Nov 2022 09:21:57 +0000 Subject: [PATCH] chore: changes to gpg import --- post-install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/post-install b/post-install index 2ab2edd..30d1c33 100755 --- a/post-install +++ b/post-install @@ -71,6 +71,7 @@ else fi cd $gitdir; +pwd gh auth login; # after logged into gh @@ -80,6 +81,6 @@ gh auth login; # gpg --export --armor KEY > pubkey.asc && gpg --export-secret-keys --armor KEY > privatekey.asc # scp them to machine ~/keys -[ ! -d ~/keys ] && echo "No keys found" || gpg --import keys/*; echo "GPG keys imported" +[ ! -d ~/keys ] && echo "No keys found" || gpg --import keys/* gh repo list --limit 100 |awk '{print $1}' | xargs -L1 gh repo clone;