pull own filesize from project page - removes need for hardcoded size

This commit is contained in:
frostworx 2021-03-28 20:52:32 +02:00
parent 49a02e261b
commit 5c540c3388

View file

@ -26,7 +26,7 @@ working_dir=/tmp/"$(basename "${script}")"_"$(id -un)"_$RANDOM
# a problem with mounting the squashfs image due to an incorrectly calculated offset.
# The size of this script
scriptsize=6583
scriptsize="$(wget -q https://raw.githubusercontent.com/Kron4ek/Conty/master/${0##*/} -O - | wc -c)"
# The size of the utils.tar archive
# utils.tar contains bwrap and squashfuse binaries