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:
parent
2589edf980
commit
3c4cdc11cd
1 changed files with 1 additions and 2 deletions
|
@ -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/"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue