mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-10 01:17:19 +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"
|
local compare_type="all"
|
||||||
|
|
||||||
source "$s2/info.txt"
|
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=""
|
GIT_ORIGIN=""
|
||||||
source "$s1/info.txt"
|
source "$s1/info.txt"
|
||||||
if ! grep "mailinabox-ldap.git" <<<"$GIT_ORIGIN" >/dev/null; then
|
if ! grep "mailinabox-ldap.git" <<<"$GIT_ORIGIN" >/dev/null; then
|
||||||
|
@ -165,6 +165,8 @@ installed_state_capture "/tmp/state/miab-ldap"
|
|||||||
|
|
||||||
# compare states
|
# compare states
|
||||||
if ! installed_state_compare "/tmp/state/upstream" "/tmp/state/miab-ldap"; then
|
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 !"
|
die "Upstream and upgraded states are different !"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user