mirror of
https://github.com/Kron4ek/Conty
synced 2024-12-27 09:58:25 +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
|
cd "${script_dir}" || exit 1
|
||||||
|
|
||||||
if [ ! -f utils.tar ]; then
|
if [ ! -f utils.tar ] || [ "$(wc -c < utils.tar)" -lt 1000 ]; then
|
||||||
echo "utils.tar is required!"
|
rm -f utils.tar
|
||||||
exit 1
|
wget -q --show-progress "https://github.com/Kron4ek/Conty/raw/master/utils.tar"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f squashfs-start.sh ]; then
|
if [ ! -f squashfs-start.sh ]; then
|
||||||
|
|
Loading…
Reference in a new issue