From 967fbbc67898a19dd97ebba0afb0f7de8d91c032 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Wed, 23 Mar 2022 09:57:17 -0500 Subject: [PATCH 1/3] Various fixes needed to make app run (#125) * Set permissions correctly to avoid warning when sudoing. * Using sudo here causes the service unit to fail, but it isn't needed anyway. Remove. * [fix] Typo ? * Revert sudo Co-authored-by: ljf (zamentur) --- scripts/install | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install b/scripts/install index e87500e..353ec8d 100755 --- a/scripts/install +++ b/scripts/install @@ -80,6 +80,7 @@ chmod u+x "/usr/local/bin/backup-with-$app" chown $app:$app "/usr/local/bin/backup-with-$app" ynh_add_config --template="sudoer" --destination="/etc/sudoers.d/$app" +chown root:root "/etc/sudoers.d/$app" if [ ! -z "$server" ]; then #================================================= From c53f0dc0700472022b2f4071db39cb629a415f8d Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Wed, 23 Mar 2022 15:58:05 +0100 Subject: [PATCH 2/3] [fix] Sudo warning issue --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 03e1f52..8fc19ef 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Backup your server on a host server using Borg.", "fr": "Sauvegardez votre serveur sur un serveur distant avec Borg." }, - "version": "1.1.16~ynh28", + "version": "1.1.16~ynh29", "url": "https://borgbackup.readthedocs.io", "license": "BSD-3-Clause", "maintainer": { From 60ca27c1e42bc05688a38f410ed92443b7de42a8 Mon Sep 17 00:00:00 2001 From: Clemorange22 Date: Wed, 4 May 2022 14:25:41 +0200 Subject: [PATCH 3/3] Fix typo --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 8fc19ef..b826eda 100644 --- a/manifest.json +++ b/manifest.json @@ -59,7 +59,7 @@ "type": "boolean", "ask": { "en": "Should Borg backup emails and user home directory?", - "fr": "Borg doit-elle sauvegarder les mails et les répertoires des utilisateurs ?" + "fr": "Borg doit-il sauvegarder les mails et les répertoires des utilisateurs ?" }, "default": true },