mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-19 04:38:44 +03:00
merge_helpers.sh: Allow restoring upstream files deleted downstream
Change-Id: Ib02d37f4c5e2414b04e5fdf6006e6e3c13f4827a
This commit is contained in:
parent
75a9c748af
commit
4803fbbc05
1 changed files with 3 additions and 1 deletions
|
@ -67,7 +67,9 @@ restore_upstream() {
|
|||
local path="$(dirname "$1")"
|
||||
local sc_f="tmp_sc_$f"
|
||||
local upstream_f="upstream_$f"
|
||||
mv "$path/$f" "$path/$sc_f"
|
||||
if [ -e "$path/$f" ]; then
|
||||
mv "$path/$f" "$path/$sc_f"
|
||||
fi
|
||||
if [ -e "$path/$upstream_f" ]; then
|
||||
mv "$path/$upstream_f" "$path/$f"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue