commit d100b692d444255446e6e3c6a9d954a70cef25b4
parent 21238f9a33fcddd10eaa5f3ae775de30af474b06
Author: lumidify <nobody@lumidify.org>
Date: Wed, 7 Feb 2024 14:06:00 +0100
Add sha256 version for GNU coreutils
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/lumia b/lumia
@@ -25,9 +25,15 @@ my $DOUBLE_CKSUM_FILE = ".lumidify_archive_cksums.cksum";
# uncomment this instead of the lines below to use
# sha256 instead of cksum as the hash algorithm
-# Note: this isn't really tested properly
+
+# On OpenBSD:
#my $CKSUM_CMD = 'sha256 -q';
#my $CKSUM_NUMFIELDS = 1;
+
+# On systems with GNU coreutils:
+#my $CKSUM_CMD = 'sha256sum';
+#my $CKSUM_NUMFIELDS = 1;
+
my $CKSUM_CMD = 'cksum';
my $CKSUM_NUMFIELDS = 2;