From 78c5d96f9505318466ce6f626778233bedcc72be Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Sat, 2 Jan 2021 15:01:43 +0100 Subject: [PATCH] auto-install script --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 701711a..71b1a78 100755 --- a/install.sh +++ b/install.sh @@ -2,12 +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/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