From 41774132c028f29cbca0d489ef6d5d5f9205b38f Mon Sep 17 00:00:00 2001 From: ljf Date: Thu, 27 Feb 2020 18:55:40 +0100 Subject: [PATCH] [fix] User detection --- manifest.json | 2 +- scripts/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 698ab38..7bdbeba 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Offer backup storage to a friend.", "fr": "Offrez un espace de stockage à un⋅e ami⋅e." }, - "version": "1.1.10~ynh4", + "version": "1.1.10~ynh5", "url": "https://borgbackup.readthedocs.io", "license": "BSD-3-Clause", "maintainer": { diff --git a/scripts/install b/scripts/install index b033356..d49c8a6 100755 --- a/scripts/install +++ b/scripts/install @@ -28,7 +28,7 @@ ynh_export ssh_user public_key quota #================================================= # CHECK IF THE APP CAN BE INSTALLED WITH THIS ARGS #================================================= -ynh_system_user_exists --username=$ssh_user || ynh_die --message="This user already exists" +ynh_system_user_exists --username=$ssh_user && ynh_die --message="This user already exists" #================================================= # STORE SETTINGS FROM MANIFEST