From 50300f252d474b665cc4944c61825d176d91e894 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 8 Feb 2022 06:08:28 +0000 Subject: [PATCH 1/3] Upgrade to v1.7.30 --- conf/app-upgrade.src | 4 ++-- conf/app.src | 4 ++-- manifest.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conf/app-upgrade.src b/conf/app-upgrade.src index c19fd4f..6755a15 100644 --- a/conf/app-upgrade.src +++ b/conf/app-upgrade.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/getgrav/grav/releases/download/1.7.26.1/grav-update-v1.7.26.1.zip -SOURCE_SUM=878f3baac02317fae0b1d4a129a22344d5aed19021317812e4243aa4bcc63c75 +SOURCE_URL=https://github.com/getgrav/grav/releases/download/1.7.30/grav-update-v1.7.30.zip +SOURCE_SUM=2ca11f349c56ff27367829d8656abbd0ad9c183a1e95ea7ecbadf3e30189b3bf SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=true diff --git a/conf/app.src b/conf/app.src index b3e6a12..5336fef 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/getgrav/grav/releases/download/1.7.26.1/grav-admin-v1.7.26.1.zip -SOURCE_SUM=78a6db8337cfe4004b8512228023f73bc80c93a5611a9cb55fc558ee86938bb6 +SOURCE_URL=https://github.com/getgrav/grav/releases/download/1.7.30/grav-admin-v1.7.30.zip +SOURCE_SUM=2d0c9c7b8fa99143d8657e1196e1cbb9257ecdffb6de08671ef731dc32dbb674 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 8fe86c2..728b277 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "A modern open source flat-file CMS", "fr": "Un CMS moderne basé sur des fichiers plats" }, - "version": "1.7.26.1~ynh1", + "version": "1.7.30~ynh1", "url": "https://www.getgrav.org/", "upstream": { "license": "MIT", From ff1e2331621ab92f990ecd58af420257952e57c8 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Tue, 8 Feb 2022 06:08:33 +0000 Subject: [PATCH 2/3] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 90bbf40..d727bde 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in A modern open source flat-file CMS -**Shipped version:** 1.7.26.1~ynh1 +**Shipped version:** 1.7.30~ynh1 **Demo:** https://getgrav.org/downloads/themes diff --git a/README_fr.md b/README_fr.md index f03601a..eec0dc2 100644 --- a/README_fr.md +++ b/README_fr.md @@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Un CMS moderne basé sur des fichiers plats -**Version incluse :** 1.7.26.1~ynh1 +**Version incluse :** 1.7.30~ynh1 **Démo :** https://getgrav.org/downloads/themes From 0ca3096997ef3968a943df89ecc5b5bbce8f8ab8 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Tue, 8 Feb 2022 20:37:55 +0100 Subject: [PATCH 3/3] Fix permissions on cronjob --- scripts/install | 1 + scripts/restore | 1 + scripts/upgrade | 1 + 3 files changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index 1c72628..c34f502 100644 --- a/scripts/install +++ b/scripts/install @@ -127,6 +127,7 @@ chmod 640 "$final_path/user/config/plugins/login-ldap.yaml" echo "* * * * * $app php${YNH_PHP_VERSION} $final_path/bin/grav scheduler 1>> /dev/null 2>&1" > /etc/cron.d/$app +chmod 644 /etc/cron.d/$app #================================================= # SETUP PERMISSIONS #================================================= diff --git a/scripts/restore b/scripts/restore index 088bd9e..65e62a1 100644 --- a/scripts/restore +++ b/scripts/restore @@ -81,6 +81,7 @@ find "$final_path" -type d -exec chmod +s {} \; #================================================= ynh_restore_file --origin_path="/etc/cron.d/$app" +chmod 644 /etc/cron.d/$app #================================================= # RESTORE THE PHP-FPM CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index 0a062c4..c997485 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -185,6 +185,7 @@ popd #================================================= echo "* * * * * $app php${YNH_PHP_VERSION} $final_path/bin/grav scheduler 1>> /dev/null 2>&1" > /etc/cron.d/$app +chmod 644 /etc/cron.d/$app #================================================= # RELOAD NGINX AND PHP-FPM