mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-20 13:53:42 -05:00
Fix git_repo_url
variable and set the catask
user's shell to nologin
This commit is contained in:
parent
82c6a8b67b
commit
8d7e051765
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
working_dir=~/tmp/catask
|
working_dir=~/tmp/catask
|
||||||
bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
normal=$(tput sgr0)
|
normal=$(tput sgr0)
|
||||||
git_repo_url="https://git.mst.k.vu/mst/catask"
|
git_repo_url="https://git.gay/mst/catask"
|
||||||
git_repo_issue_url="${git_repo_url}/issues/new"
|
git_repo_issue_url="${git_repo_url}/issues/new"
|
||||||
|
|
||||||
echo "--------------------------"
|
echo "--------------------------"
|
||||||
|
@ -12,7 +12,7 @@ echo "--------------------------"
|
||||||
echo
|
echo
|
||||||
echo "${bold}Cloning the repository...${normal}"
|
echo "${bold}Cloning the repository...${normal}"
|
||||||
# this might work... or not, who knows
|
# this might work... or not, who knows
|
||||||
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 $(which nologin) -m -d /etc/catask -U catask
|
||||||
# cloning dev branch for now because the installer doesn't exist in main branch yet
|
# cloning dev branch for now because the installer doesn't exist in main branch yet
|
||||||
git clone $git_repo_url $working_dir --branch dev
|
git clone $git_repo_url $working_dir --branch dev
|
||||||
cd $working_dir
|
cd $working_dir
|
||||||
|
|
Loading…
Add table
Reference in a new issue