1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/photoprism_ynh.git synced 2024-09-03 19:56:41 +02:00

Update install

This commit is contained in:
Éric Gaspar 2023-07-17 23:12:07 +02:00 committed by Félix Piédallu
parent 2589edf980
commit 3c4cdc11cd

View file

@ -33,7 +33,6 @@ ynh_script_progression --message="Setting up source files..."
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
chmod 750 "$install_dir" chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"
@ -69,7 +68,7 @@ chown -R $app:$app "$install_dir"
#================================================= #=================================================
ynh_script_progression --message="Creating a data directory..." ynh_script_progression --message="Creating a data directory..."
mkdir -p $data_dir #mkdir -p $data_dir
rsync -a "$install_dir/live/assets/" "$data_dir/assets/" rsync -a "$install_dir/live/assets/" "$data_dir/assets/"
ynh_secure_remove --file="$install_dir/live/assets/" ynh_secure_remove --file="$install_dir/live/assets/"