small pixel drawing of a pufferfish pa

support keys as symlinks in pa-rekey
arĉi arcxi@dismail.de
Sat, 06 Jul 2024 14:17:11 +0200
commit

ee192ec810a7f768bb4cbf8d80a7538204a83b84

parent

0d49c21d311f85afa0f3b4da0fe65e63ad5a8803

1 files changed, 5 insertions(+), 3 deletions(-)

jump to
M contrib/pa-rekeycontrib/pa-rekey

@@ -50,10 +50,12 @@ done

trap - INT EXIT -rm -rf "$realstore" +rm -rf "$realstore" || + die "Couldn't remove password directory" + mv "$basedir/tmp/passwords" "$realstore" -mv "$basedir/tmp/identities" "$basedir/identities" -mv "$basedir/tmp/recipients" "$basedir/recipients" +mv "$basedir/tmp/identities" "$(realpath "$basedir/identities")" +mv "$basedir/tmp/recipients" "$(realpath "$basedir/recipients")" rmdir "$basedir/tmp" # Recreate git repository if needed.