aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_fs
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2025-03-17 19:16:12 +0200
committerkaotisk <kaotisk@arching-kaos.org>2025-03-17 19:16:12 +0200
commit5cefcf9c88d0b85d651ec7b33ca4f408c55f5347 (patch)
tree6860f9e68dbda2c7a06c5d6844afabca44c53f66 /lib/_ak_fs
parent1e529830cb1407b13bb0dc86587ec5618a3698f6 (diff)
downloadarching-kaos-tools-5cefcf9c88d0b85d651ec7b33ca4f408c55f5347.tar.gz
arching-kaos-tools-5cefcf9c88d0b85d651ec7b33ca4f408c55f5347.tar.bz2
arching-kaos-tools-5cefcf9c88d0b85d651ec7b33ca4f408c55f5347.zip
Remove unecessary output
Diffstat (limited to 'lib/_ak_fs')
-rwxr-xr-xlib/_ak_fs10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/_ak_fs b/lib/_ak_fs
index 525b108..03f9b7f 100755
--- a/lib/_ak_fs
+++ b/lib/_ak_fs
@@ -188,7 +188,7 @@ function _ak_fs_import(){
done
if [ -f level.1.map ]
then
- sha512sum level.1.map
+ # sha512sum level.1.map
sha512sum level.1.map >> $TEMPDIR/3rd_gen_map
else
ak_log_error "Got error an error, level.1.map is missing"
@@ -428,7 +428,7 @@ function _ak_net_try_leaf(){
if [ "$(cat $1 | grep '^[0-9a-z]\{128\}$' | wc -l)" == 2 ]
then
_ak_log_info "File has two lines which are 2 hashes"
- cat $1
+ # cat $1
cp $1 ${AK_LEAFSDIR}/$1
exit
break
@@ -441,7 +441,7 @@ function _ak_net_try_leaf(){
rm $1
fi
else
- cat $1 | jq >&2
+ # cat $1 | jq >&2
_ak_log_warning "File $1 doesn't match expected hash: $(sha512sum $1 | awk '{print $1}')"
rm $1
fi
@@ -476,7 +476,7 @@ function _ak_net_try_chunk(){
if [ "$(cat $1 | grep -v '^[-A-Za-z0-9+/]*=\{0,3\}$')" == "" ]
then
_ak_log_info "File is base64"
- cat $1
+ # cat $1
cp $1 ${AK_CHUNKSDIR}/$1
exit
break
@@ -485,7 +485,7 @@ function _ak_net_try_chunk(){
rm $1
fi
else
- cat $1 | jq >&2
+ # cat $1 | jq >&2
_ak_log_warning "File $1 doesn't match expected hash: $(sha512sum $1 | awk '{print $1}')"
rm $1
fi