diff --git a/install.sh b/install.sh index 2a847c2..5b69f87 100755 --- a/install.sh +++ b/install.sh @@ -2,13 +2,12 @@ TAG=$(printf "\x1b[36m\x1b[0m") PREFIX=${GITEAPC_PREFIX:-$HOME/.local} -URL="https://gitea.planet-casio.com/Lephenixnoir/GiteaPC/archive/master.tar.gz" +URL="https://gitea.planet-casio.com/Lephenixnoir/GiteaPC" # Download the source code cd "$(mktemp -d)" -curl "$URL" -o giteapc-master.tar.gz -tar -xzf giteapc-master.tar.gz && cd giteapc +git clone --depth=1 "$URL" giteapc && cd giteapc # Bootstrap the program by installing it with itself (allowing updates)