mirror of
https://github.com/luzifer-docker/pvc-git.git
synced 2024-12-20 22:31:18 +00:00
Fix: Do chown also on restore
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
5d927bc573
commit
9a014b34b3
1 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,8 @@ function run_restore() {
|
||||||
|
|
||||||
info "Resetting to remote state..."
|
info "Resetting to remote state..."
|
||||||
git reset --hard FETCH_HEAD
|
git reset --hard FETCH_HEAD
|
||||||
|
|
||||||
|
[[ -z $CHOWN_UID ]] || chown -R ${CHOWN_UID}:${CHOWN_GID} .
|
||||||
}
|
}
|
||||||
|
|
||||||
function run_sync() {
|
function run_sync() {
|
||||||
|
|
Loading…
Reference in a new issue