From 51fe782476c82bccb7517737a9c8df9f574e4a91 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 23 Jul 2024 14:20:30 +0300 Subject: no need to save that map type anymore --- lib/_ak_fs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/_ak_fs') diff --git a/lib/_ak_fs b/lib/_ak_fs index c8769f8..b26ad9c 100755 --- a/lib/_ak_fs +++ b/lib/_ak_fs @@ -253,13 +253,13 @@ _ak_fs_import(){ # rm $TEMPORARYDIR/cmd_queue.sh # We inform the map about the original $FILE name and SHA512 - echo "$CHECKSUM $(basename "$FILE")" >> $TEMPORARYDIR/map +# echo "$CHECKSUM $(basename "$FILE")" >> $TEMPORARYDIR/map # We get the SHA512 hash of the resulted map file - MAPFILEHASH="$(sha512sum $TEMPORARYDIR/map | awk '{ print $1 }')" +# MAPFILEHASH="$(sha512sum $TEMPORARYDIR/map | awk '{ print $1 }')" # and we rename it with it and move it to FILEMAPSDIR - `sha512sum $TEMPORARYDIR/map | awk '{print "mv " $2 " '$FILEMAPSDIR/'" $1}'` +# `sha512sum $TEMPORARYDIR/map | awk '{print "mv " $2 " '$FILEMAPSDIR/'" $1}'` mp512p="$(sha512sum $TEMPORARYDIR/3rd_gen_map | awk '{print $1}')" mv $TEMPORARYDIR/3rd_gen_map $FILEMAPSDIR/$mp512p -- cgit v1.2.3