[update_element_im] Be overly paranoid, and change owner explicitly
This commit is contained in:
parent
d9a3758c97
commit
98e923c1ed
1 changed files with 3 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# SPDX-FileCopyrightText: 2020 Luca Beltrame <lbeltrame@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-3-clause
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -o errexit
|
set -o errexit
|
||||||
|
@ -47,6 +49,7 @@ function update() {
|
||||||
--delete \
|
--delete \
|
||||||
--exclude config.json \
|
--exclude config.json \
|
||||||
--chown "${WEB_USER}":"${WEB_USER}"
|
--chown "${WEB_USER}":"${WEB_USER}"
|
||||||
|
chown -R "${WEB_USER}":"${WEB_USER}" "${destination}"
|
||||||
echo "Update complete."
|
echo "Update complete."
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue