This commit is contained in:
mst 2024-09-23 16:41:08 +03:00
parent 0ad72d644d
commit 2416eb806a

View file

@ -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}"