Skip to content

Commit

Permalink
Update create-conty.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-hc authored Aug 2, 2024
1 parent 9d5e7ea commit eed8135
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions create-conty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,22 +61,8 @@ else
fi

if [ ! -f "${utils}" ] || [ "$(wc -c < "${utils}")" -lt 100000 ]; then
if [ -d .git ]; then
git lfs install
git lfs fetch origin master
git lfs checkout
fi

if [ ! -f "${utils}" ] || [ "$(wc -c < "${utils}")" -lt 100000 ]; then
if git config --get remote.origin.url; then
utils_url="$(git config --get remote.origin.url)"/raw/master/${utils}
else
utils_url="https://github.com/Kron4ek/Conty/raw/master/${utils}"
fi

rm -f "${utils}"
curl -#LO "${utils_url}"
fi
rm -f "${utils}"
curl -#LO "https://github.com/Kron4ek/Conty/raw/master/${utils}"
fi

if [ ! -f conty-start.sh ]; then
Expand Down

0 comments on commit eed8135

Please sign in to comment.