mirror of
https://git.planet-casio.com/Lephenixnoir/GiteaPC.git
synced 2025-06-04 01:45:14 +02:00
install: use git clone instead of archive
This commit is contained in:
parent
ce7342045b
commit
13e3acb4a8
1 changed files with 2 additions and 3 deletions
|
@ -2,13 +2,12 @@
|
||||||
|
|
||||||
TAG=$(printf "\x1b[36m<giteapc>\x1b[0m")
|
TAG=$(printf "\x1b[36m<giteapc>\x1b[0m")
|
||||||
PREFIX=${GITEAPC_PREFIX:-$HOME/.local}
|
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
|
# Download the source code
|
||||||
|
|
||||||
cd "$(mktemp -d)"
|
cd "$(mktemp -d)"
|
||||||
curl "$URL" -o giteapc-master.tar.gz
|
git clone --depth=1 "$URL" giteapc && cd giteapc
|
||||||
tar -xzf giteapc-master.tar.gz && cd giteapc
|
|
||||||
|
|
||||||
# Bootstrap the program by installing it with itself (allowing updates)
|
# Bootstrap the program by installing it with itself (allowing updates)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue