mirror of
https://github.com/Kron4ek/Conty
synced 2024-12-25 09:58:45 +01:00
Download utils.tar if it's missing or corrupted
This commit is contained in:
parent
f87e9df6a1
commit
40ddb5325a
1 changed files with 3 additions and 3 deletions
|
@ -13,9 +13,9 @@ bootstrap="${script_dir}"/root.x86_64
|
|||
|
||||
cd "${script_dir}" || exit 1
|
||||
|
||||
if [ ! -f utils.tar ]; then
|
||||
echo "utils.tar is required!"
|
||||
exit 1
|
||||
if [ ! -f utils.tar ] || [ "$(wc -c < utils.tar)" -lt 1000 ]; then
|
||||
rm -f utils.tar
|
||||
wget -q --show-progress "https://github.com/Kron4ek/Conty/raw/master/utils.tar"
|
||||
fi
|
||||
|
||||
if [ ! -f squashfs-start.sh ]; then
|
||||
|
|
Loading…
Reference in a new issue