diff --git a/install.sh b/install.sh index b26284d..e134d9b 100755 --- a/install.sh +++ b/install.sh @@ -2,8 +2,9 @@ # work in progress id -u catask >/dev/null 2>&1 || sudo useradd -r -s /bin/false -m -d /etc/catask -U catask -sudo git clone https://git.mst.k.vu/mst/catask /tmp/catask -cd /tmp/catask +# cloning branch dev for now because the installer doesn't exist in main branch yet +git clone https://git.mst.k.vu/mst/catask ~/tmp/catask --branch dev +cd ~/tmp/catask commit_short_hash=$(git rev-parse --short HEAD) bold=$(tput bold) @@ -20,7 +21,7 @@ echo "${bold}Installing required packages...${normal}" pip install -r requirements.txt # move to /etc/catask after installing packages -sudo cp -r /tmp/catask/ /etc/catask/ +sudo cp -r ~/tmp/catask/ /etc/catask/ echo echo "${bold}Configuring CatAsk...${normal}"