From 00573eff1569a984000dfafe8f9ccf9bcad971dd Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 20 May 2024 07:21:29 +0300 Subject: turned ak config options to flags --- lib/_ak_gpg | 2 +- lib/_ak_zblock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/_ak_gpg b/lib/_ak_gpg index d8010b2..b74d411 100755 --- a/lib/_ak_gpg +++ b/lib/_ak_gpg @@ -26,7 +26,7 @@ _ak_gpg_key_import_from_file(){ } _ak_gpg_key_self_get_fingerprint_from_config(){ - ak-config show | jq -r '.gpg' + ak-config --show | jq -r '.gpg' } _ak_gpg_key_self_get_fingerprint(){ diff --git a/lib/_ak_zblock b/lib/_ak_zblock index cd4fa95..e1e6914 100755 --- a/lib/_ak_zblock +++ b/lib/_ak_zblock @@ -585,7 +585,7 @@ _ak_zblock_pack(){ logit "ERROR" "Could not copy $ZBLOCK to /zlatest" exit 1 fi - ak-config publish + ak-config --publish if [ $? -ne 0 ] then logit "ERROR" "Could not publish new configuration" -- cgit v1.2.3