fix
This commit is contained in:
parent
0ad72d644d
commit
2416eb806a
1 changed files with 4 additions and 3 deletions
|
@ -2,8 +2,9 @@
|
||||||
|
|
||||||
# work in progress
|
# work in progress
|
||||||
id -u catask >/dev/null 2>&1 || sudo useradd -r -s /bin/false -m -d /etc/catask -U catask
|
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
|
# cloning branch dev for now because the installer doesn't exist in main branch yet
|
||||||
cd /tmp/catask
|
git clone https://git.mst.k.vu/mst/catask ~/tmp/catask --branch dev
|
||||||
|
cd ~/tmp/catask
|
||||||
|
|
||||||
commit_short_hash=$(git rev-parse --short HEAD)
|
commit_short_hash=$(git rev-parse --short HEAD)
|
||||||
bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
|
@ -20,7 +21,7 @@ echo "${bold}Installing required packages...${normal}"
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
# move to /etc/catask after installing packages
|
# move to /etc/catask after installing packages
|
||||||
sudo cp -r /tmp/catask/ /etc/catask/
|
sudo cp -r ~/tmp/catask/ /etc/catask/
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "${bold}Configuring CatAsk...${normal}"
|
echo "${bold}Configuring CatAsk...${normal}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue