Skip to content

Commit

Permalink
getuto: Update LASTRUNFILE on init
Browse files Browse the repository at this point in the history
Should result in fewer unnecessary key refreshes.

Maybe a --force option to ignore the lastrun file would make sense.

Signed-off-by: Zen <z@pyl.onl>
Closes: #18
Signed-off-by: Sam James <sam@gentoo.org>
  • Loading branch information
desultory authored and thesamesam committed Nov 13, 2024
1 parent 719f048 commit 140037d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions getuto
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ if [[ ! -d ${GNUPGHOME} ]] ; then
# Make sure the trustdb is world-readable.
chmod ugo+r "${GNUPGHOME}/trustdb.gpg"

touch ${LASTRUNFILE}
eend
else
# The keydir already exists, so our job is to just to refresh and check
Expand Down

0 comments on commit 140037d

Please sign in to comment.