non-standard git remotes in github actions

This commit is contained in:
downtownallday
2021-08-23 16:01:16 -04:00
parent 0c2c76a6dc
commit 0876a9a7de
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ installed_state_compare() {
local compare_type="all"
source "$s2/info.txt"
if grep "mailinabox-ldap.git" <<<"$GIT_ORIGIN" >/dev/null; then
if [ -z "$GIT_ORIGIN" ] || grep "mailinabox-ldap.git" <<<"$GIT_ORIGIN" >/dev/null; then
GIT_ORIGIN=""
source "$s1/info.txt"
if ! grep "mailinabox-ldap.git" <<<"$GIT_ORIGIN" >/dev/null; then