diff --git a/manifest.toml b/manifest.toml index 92f4afe..268a44f 100644 --- a/manifest.toml +++ b/manifest.toml @@ -17,7 +17,7 @@ userdoc = "https://omeka.org/s/docs/user-manual/" code = "https://github.com/omeka/omeka-s" [integration] -yunohost = ">= 11.2.18" +yunohost = ">= 11.2.29" helpers_version = "2.1" architectures = "all" multi_instance = true diff --git a/scripts/install b/scripts/install index a2ad2e4..c3f58bd 100755 --- a/scripts/install +++ b/scripts/install @@ -15,17 +15,13 @@ ynh_script_progression "Setting up source files..." ynh_setup_source --dest_dir="$install_dir" ynh_setup_source --dest_dir="$install_dir/modules/" --source_id="csvimport" -#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod -R o-rwx "$install_dir" -#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app:www-data "$install_dir" #================================================= # SYSTEM CONFIGURATION #================================================= ynh_script_progression "Adding system configurations related to $app ..." -# Create a dedicated PHP-FPM config ynh_config_add_phpfpm -# Create a dedicated NGINX config ynh_config_add_nginx #================================================= @@ -35,12 +31,8 @@ ynh_script_progression "Adding $app's configuration..." ynh_config_add --template="database.ini.default" --destination="$install_dir/config/database.ini" -#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 400 "$install_dir/config/database.ini" -#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown $app "$install_dir/config/database.ini" - #================================================= # TWEAK IMAGICK CONFIGURATION TO ALLOW PDF THUMBNAILS GENERATION - #================================================= ynh_script_progression "Tweaking ImageMagick conf to allow generation of thumbnails PDF" diff --git a/scripts/restore b/scripts/restore index 7eaedb1..523bd23 100755 --- a/scripts/restore +++ b/scripts/restore @@ -10,8 +10,6 @@ ynh_script_progression "Restoring the app main directory..." ynh_restore "$install_dir" -#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod -R o-rwx "$install_dir" -#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app:www-data "$install_dir" #================================================= # RESTORE THE MYSQL DATABASE #================================================= @@ -30,7 +28,6 @@ ynh_restore "/etc/nginx/conf.d/$domain.d/$app.conf" #================================================= # TWEAK IMAGICK CONFIGURATION TO ALLOW PDF THUMBNAILS GENERATION - #================================================= ynh_script_progression "Tweaking imagemagick conf to allow generation of thumbnails PDF" diff --git a/scripts/upgrade b/scripts/upgrade index 6dcf564..fd71a20 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -15,8 +15,6 @@ ynh_script_progression "Upgrading source files..." ynh_setup_source --dest_dir="$install_dir" --keep="config/local.config.php config/database.ini modules themes files" ynh_setup_source --dest_dir="$install_dir/modules/" --source_id="csvimport" -#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod -R o-rwx "$install_dir" -#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app:www-data "$install_dir" #================================================= # PHP-FPM CONFIGURATION #================================================= @@ -28,7 +26,6 @@ ynh_config_add_nginx #================================================= # TWEAK IMAGICK CONFIGURATION TO ALLOW PDF THUMBNAILS GENERATION - #================================================= ynh_script_progression "Tweaking ImageMagick conf to allow generation of thumbnails PDF"