mirror of
https://git.planet-casio.com/Lephenixnoir/GiteaPC.git
synced 2024-12-28 04:23:40 +01:00
auto-install script
This commit is contained in:
parent
5406afa497
commit
78c5d96f95
1 changed files with 3 additions and 3 deletions
|
@ -2,12 +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/archive/master.tar.gz"
|
||||||
|
|
||||||
# Download the source code
|
# Download the source code
|
||||||
|
|
||||||
cd $(mktemp)
|
cd "$(mktemp -d)"
|
||||||
curl $URL -o giteapc-master.tar.gz
|
curl "$URL" -o giteapc-master.tar.gz
|
||||||
tar -xzf giteapc-master.tar.gz && cd giteapc
|
tar -xzf giteapc-master.tar.gz && cd giteapc
|
||||||
|
|
||||||
# Install the program itself (not to $PREFIX, which is for programs installed
|
# Install the program itself (not to $PREFIX, which is for programs installed
|
||||||
|
|
Loading…
Reference in a new issue