mirror of
https://github.com/YunoHost-Apps/photoprism_ynh.git
synced 2024-09-03 19:56:41 +02:00
test
This commit is contained in:
parent
5ccb3dc137
commit
ace7966104
1 changed files with 2 additions and 5 deletions
|
@ -32,7 +32,7 @@ ynh_app_setting_set --app=$app --key=language_key --value=$language_key
|
||||||
ynh_script_progression --message="Setting up source files..."
|
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
|
||||||
ynh_setup_source
|
|
||||||
|
|
||||||
chmod 750 "$install_dir"
|
chmod 750 "$install_dir"
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
|
@ -54,10 +54,7 @@ ynh_add_nginx_config
|
||||||
ynh_script_progression --message="Making install..."
|
ynh_script_progression --message="Making install..."
|
||||||
|
|
||||||
Install photoprism
|
Install photoprism
|
||||||
pushd $install_dir/build
|
ynh_setup_source --dest_dir="$final_path/build"
|
||||||
detect_arch
|
|
||||||
./docker-image-extract photoprism/photoprism:$PHOTOPRISM_VERSION
|
|
||||||
popd
|
|
||||||
|
|
||||||
mkdir -p "$install_dir/live/"
|
mkdir -p "$install_dir/live/"
|
||||||
rsync -a "$install_dir/build/output/opt/photoprism/" "$install_dir/live/"
|
rsync -a "$install_dir/build/output/opt/photoprism/" "$install_dir/live/"
|
||||||
|
|
Loading…
Add table
Reference in a new issue