diff options
author | EuAndreh <eu@euandre.org> | 2019-06-01 23:35:28 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-06-01 23:35:28 -0300 |
commit | 87225a0df0873a1a9b28dd14ca142d2031c95937 (patch) | |
tree | fec1991fc4357c1980264c297c98f87cf7f00473 /public | |
parent | Wait for Nextcloud to fully sync before continuing with setup.sh (diff) | |
download | dotfiles-87225a0df0873a1a9b28dd14ca142d2031c95937.tar.gz dotfiles-87225a0df0873a1a9b28dd14ca142d2031c95937.tar.xz |
Fix references from $KEY_PAIR_PATH to $TAR_PATH
Diffstat (limited to 'public')
-rwxr-xr-x | public/nixos/setup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/nixos/setup.sh b/public/nixos/setup.sh index c79491a..f659721 100755 --- a/public/nixos/setup.sh +++ b/public/nixos/setup.sh @@ -49,12 +49,12 @@ TAR_PATH="${1:-}" import_gpg() { yellow "Import GPG data..." - gpg -o EuAndreh.tar -d "${KEY_PAIR_PATH}" + gpg -o EuAndreh.tar -d "${TAR_PATH}" tar -xvf EuAndreh.tar gpg --import keys.gpg gpg --import-ownertrust trust.txt - rm "${KEY_PAIR_PATH}" + rm "${TAR_PATH}" shred trust.txt rm trust.txt shred keys.gpg |