1.51.1.sh: Fix data directory path (#1759)

Signed-off-by: Martin <mayermart@users.noreply.github.com>
This commit is contained in:
Martin 2023-04-11 01:05:55 +02:00 committed by GitHub
parent 75b90ce93a
commit 13aa4737fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,6 @@ source /usr/local/etc/library.sh
[ -f "${theming_base_path}/background" ] || cp /usr/local/etc/background "${theming_base_path}/background" [ -f "${theming_base_path}/background" ] || cp /usr/local/etc/background "${theming_base_path}/background"
[ -f "${theming_base_path}/logo" ] || cp /usr/local/etc/logo "${theming_base_path}/logo" [ -f "${theming_base_path}/logo" ] || cp /usr/local/etc/logo "${theming_base_path}/logo"
[ -f "${theming_base_path}/logoheader" ] || cp /usr/local/etc/logo "${theming_base_path}/logoheader" [ -f "${theming_base_path}/logoheader" ] || cp /usr/local/etc/logo "${theming_base_path}/logoheader"
chown -R www-data:www-data "data/appdata_${ID}" chown -R www-data:www-data "$( get_nc_config_value datadirectory )/appdata_${ID}"
echo "Done." echo "Done."
} }