diff --git a/conf/app.src b/conf/app.src index 221c4dd..aa6e3d4 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,6 +1,6 @@ -SOURCE_URL=https://github.com/spikecodes/libreddit/releases/download/v0.23.1/libreddit -SOURCE_SUM=0d63bcb6e7195b350db61d6aa3aa2bd17f4ff4b9e5eef466fb9a7f65dadabde0 +SOURCE_URL=https://github.com/spikecodes/libreddit/releases/download/v0.28.0/libreddit +SOURCE_SUM=e5956240f7b566a4db571385a5e3d87c8fcc0a67e63b73d313a52d9fd40f1b39 SOURCE_SUM_PRG=sha256sum SOURCE_IN_SUBDIR=false SOURCE_FILENAME=libreddit -SOURCE_EXTRACT=false +SOURCE_EXTRACT=false \ No newline at end of file diff --git a/manifest.toml b/manifest.toml index a9dc6f7..773b978 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Libreddit" description.en = "Libre alternative to Reddit" description.fr = "Alternative libre à Reddit" -version = "0.23.1~ynh1" +version = "0.28.0~ynh1" maintainers = ["eric_G"] @@ -16,7 +16,7 @@ demo = "https://libreddit.spike.codes/" code = "https://github.com/spikecodes/libreddit" [integration] -yunohost = ">= 11.1.0" +yunohost = ">= 11.1.6" architectures = "all" multi_instance = true ldap = "false" @@ -42,6 +42,6 @@ ram.runtime = "50M" [resources.install_dir] [resources.ports] - + [resources.permissions] main.url = "/" diff --git a/scripts/install b/scripts/install index f3c63dd..2eccb53 100755 --- a/scripts/install +++ b/scripts/install @@ -17,8 +17,6 @@ ynh_script_progression --message="Setting up source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" -chmod 750 "$install_dir" -chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" chmod +x $install_dir/libreddit diff --git a/scripts/upgrade b/scripts/upgrade index 0a3ef6f..138b5a9 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -36,8 +36,6 @@ then ynh_setup_source --dest_dir="$install_dir" --keep="libreddit.conf" fi -chmod 750 "$install_dir" -chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" chmod +x $install_dir/libreddit @@ -81,13 +79,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=2 ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" -#================================================= -# RELOAD NGINX -#================================================= -ynh_script_progression --message="Reloading NGINX web server..." --weight=1 - -ynh_systemd_action --service_name=nginx --action=reload - #================================================= # END OF SCRIPT #=================================================