From b44ee07e4240d23b4f6bbbc4083e68a65cfb22b9 Mon Sep 17 00:00:00 2001 From: Sergio Arroutbi Braojos Date: Mon, 4 Oct 2021 16:35:57 +0200 Subject: [PATCH] Fix scriptlet from previous commit --- tang.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tang.spec b/tang.spec index 5ab33fe..c860adb 100644 --- a/tang.spec +++ b/tang.spec @@ -1,6 +1,6 @@ Name: tang Version: 10 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Network Presence Binding Daemon License: GPLv3+ @@ -72,9 +72,11 @@ exit 0 # by the owner/group. if [ -d /var/db/tang ]; then for k in /var/db/tang/*.jwk; do + test -e "${k}" || continue chmod 0440 -- "${k}" done for k in /var/db/tang/.*.jwk; do + test -e "${k}" || continue chmod 0440 -- "${k}" done chown tang:tang -R /var/db/tang @@ -99,6 +101,9 @@ fi %{_mandir}/man1/tang-show-keys.1* %changelog +* Mon Oct 04 2021 Sergio Arroutbi - 10-5 +- Fix scriptlet from previous commit + * Mon Oct 04 2021 Sergio Correia - 10-4 - Keys are created with 0440 mode Resolves rhbz#2008204