auto-install script

This commit is contained in:
Lephenixnoir 2021-01-02 15:01:43 +01:00
parent 5406afa497
commit 78c5d96f95
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 3 additions and 3 deletions

View File

@ -2,12 +2,12 @@
TAG=$(printf "\x1b[36m<giteapc>\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/archive/master.tar.gz"
# Download the source code
cd $(mktemp)
curl $URL -o giteapc-master.tar.gz
cd "$(mktemp -d)"
curl "$URL" -o giteapc-master.tar.gz
tar -xzf giteapc-master.tar.gz && cd giteapc
# Install the program itself (not to $PREFIX, which is for programs installed