1
0
Fork 0

[update_element_im] Be overly paranoid, and change owner explicitly

This commit is contained in:
Luca Beltrame 2020-09-26 09:29:49 +02:00
parent d9a3758c97
commit 98e923c1ed
Signed by: einar
GPG key ID: 4707F46E9EC72DEC

View file

@ -1,4 +1,6 @@
#!/bin/bash
# SPDX-FileCopyrightText: 2020 Luca Beltrame <lbeltrame@kde.org>
# SPDX-License-Identifier: BSD-3-clause
set -e
set -o errexit
@ -47,6 +49,7 @@ function update() {
--delete \
--exclude config.json \
--chown "${WEB_USER}":"${WEB_USER}"
chown -R "${WEB_USER}":"${WEB_USER}" "${destination}"
echo "Update complete."
popd
}