mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Remove extra check.
This commit is contained in:
parent
a1efe50659
commit
a72d730373
1 changed files with 0 additions and 17 deletions
|
|
@ -1,24 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
function wekan_repo_check(){
|
|
||||||
git_remotes="$(git remote show 2>/dev/null)"
|
|
||||||
res=""
|
|
||||||
for i in $git_remotes; do
|
|
||||||
res="$(git remote get-url $i | sed 's/.*wekan\/wekan.*/wekan\/wekan/')"
|
|
||||||
if [[ "$res" == "wekan/wekan" ]]; then
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if [[ "$res" != "wekan/wekan" ]]; then
|
|
||||||
echo "$PWD is not a wekan repository"
|
|
||||||
exit;
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# If you want to restart even on crash, uncomment while and done lines.
|
# If you want to restart even on crash, uncomment while and done lines.
|
||||||
#while true; do
|
#while true; do
|
||||||
wekan_repo_check
|
|
||||||
cd .build/bundle
|
cd .build/bundle
|
||||||
#---------------------------------------------
|
#---------------------------------------------
|
||||||
# Debug OIDC OAuth2 etc.
|
# Debug OIDC OAuth2 etc.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue