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;