diff options
Diffstat (limited to 'bin/ak-categories')
-rwxr-xr-x | bin/ak-categories | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ak-categories b/bin/ak-categories index 8750159..9387651 100755 --- a/bin/ak-categories +++ b/bin/ak-categories @@ -5,6 +5,7 @@ descriptionString="A module for adding and refering zblocks to categories" source $AK_LIBDIR/_ak_logit source $AK_LIBDIR/_ak_script_description +source $AK_LIBDIR/_ak_gpg if [ ! -d $AK_CATEGORIES ]; then mkdir $AK_CATEGORIES @@ -75,7 +76,7 @@ _ak_modules_categories_add(){ TITLE=$(head -n 1 $FILE) FILE_IPFS_HASH=$(ak-ipfs-add $FILE) FILE_SIGN_FILE=$FILE".asc" - gpg2 --homedir $AK_GPGHOME --detach-sign --sign-with $AK_FINGERPRINT --armor --output $FILE_SIGN_FILE $FILE + _ak_gpg_sign_detached $FILE_SIGN_FILE $FILE FILE_SIGNATURE=$(ak-ipfs-add $FILE_SIGN_FILE) cat > data <<EOF { |