diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-08-18 22:30:19 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-08-18 22:30:19 +0300 |
commit | da5c4e118f6d5b04ee31ca2374a1bd8aa8c00e37 (patch) | |
tree | c9f425479a45e5f91f29d23b7207e2b662b4cd2f /bin/ak-news | |
parent | 39ed9fd836004d44bc31ecb4a63376a3c2087da6 (diff) | |
download | arching-kaos-tools-da5c4e118f6d5b04ee31ca2374a1bd8aa8c00e37.tar.gz arching-kaos-tools-da5c4e118f6d5b04ee31ca2374a1bd8aa8c00e37.tar.bz2 arching-kaos-tools-da5c4e118f6d5b04ee31ca2374a1bd8aa8c00e37.zip |
Moved GPG keyring to dedicated folder under .arching-kaos/
Diffstat (limited to 'bin/ak-news')
-rwxr-xr-x | bin/ak-news | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ak-news b/bin/ak-news index 2c0e9de..5103371 100755 --- a/bin/ak-news +++ b/bin/ak-news @@ -90,7 +90,7 @@ add2(){ TITLE=$(head -n 1 $FILE) FILE_IPFS_HASH=$(ak-ipfs-add $FILE) FILE_SIGN_FILE=$FILE".asc" - gpg --detach-sign --sign-with $AK_FINGERPRINT --armor --output $FILE_SIGN_FILE $FILE + gpg2 --homedir $AK_GPGHOME --detach-sign --sign-with $AK_FINGERPRINT --armor --output $FILE_SIGN_FILE $FILE FILE_SIGNATURE=$(ak-ipfs-add $FILE_SIGN_FILE) cat > data <<EOF { @@ -124,7 +124,7 @@ add(){ TITLE=$(head -n 1 $ZNEWSDIR/$FILE) FILE_IPFS_HASH=$(ak-ipfs-add $ZNEWSDIR/$FILE) FILE_SIGN_FILE=$FILE".asc" - gpg --detach-sign --sign-with $AK_FINGERPRINT --armor --output $FILE_SIGN_FILE $ZNEWSDIR/$FILE + gpg2 --homedir $AK_GPGHOME --detach-sign --sign-with $AK_FINGERPRINT --armor --output $FILE_SIGN_FILE $ZNEWSDIR/$FILE FILE_SIGNATURE=$(ak-ipfs-add $FILE_SIGN_FILE) cat > data <<EOF { |