mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-04 00:17:06 +00:00
non-standard git remotes in github actions
This commit is contained in:
parent
0c2c76a6dc
commit
0876a9a7de
@ -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
|
||||
|
@ -165,6 +165,8 @@ installed_state_capture "/tmp/state/miab-ldap"
|
||||
|
||||
# compare states
|
||||
if ! installed_state_compare "/tmp/state/upstream" "/tmp/state/miab-ldap"; then
|
||||
dump_file "/tmp/state/upstream/info.txt"
|
||||
dump_file "/tmp/state/miab-ldap/info.txt"
|
||||
die "Upstream and upgraded states are different !"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user