From cbebf691a2857a30ca318ac39d0eda6714223a10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 31 Aug 2024 15:09:39 +0200 Subject: [PATCH] cleaning --- manifest.toml | 2 +- scripts/backup | 1 - scripts/install | 2 -- scripts/remove | 1 - 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/manifest.toml b/manifest.toml index fccab2e..c88d789 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Samba" description.en = "Share directories on your private network thanks to SMB protocol" description.fr = "Partager des dossiers sur un réseau privé via le protocole SMB" -version = "4.13.13~ynh2" +version = "4.13.13~yn3" maintainers = ["Galette"] diff --git a/scripts/backup b/scripts/backup index cd689f8..0570e1d 100755 --- a/scripts/backup +++ b/scripts/backup @@ -1,6 +1,5 @@ #!/bin/bash -# Keep this path for calling _common.sh inside the execution's context of backup and restore scripts source ../settings/scripts/_common.sh source /usr/share/yunohost/helpers diff --git a/scripts/install b/scripts/install index 29eac98..fcd3d9f 100755 --- a/scripts/install +++ b/scripts/install @@ -18,7 +18,6 @@ ynh_app_setting_set --key=unbrowseable --value='' #================================================= ynh_script_progression "Creating a data directory..." -#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 750 "$data_dir/share" chmod -R o-rwx "$data_dir/share" chown -R root:root "$data_dir/share" setfacl -R -m g:samba.share:rwx,d:g:samba.share:rwx $data_dir/share @@ -54,7 +53,6 @@ yunohost service add smbd --description="Samba service" --log="/var/log/smbd/smb #================================================= ynh_script_progression "Starting $app's systemd service..." -# Start a systemd service ynh_systemctl --service=smbd --action="start" #================================================= diff --git a/scripts/remove b/scripts/remove index e252ce2..70cf219 100755 --- a/scripts/remove +++ b/scripts/remove @@ -9,7 +9,6 @@ source /usr/share/yunohost/helpers # REMOVE SERVICE INTEGRATION IN YUNOHOST #================================================= -# Remove the service from the list of services known by YunoHost (added from `yunohost service add`) if ynh_hide_warnings yunohost service status $app >/dev/null then ynh_script_progression "Removing $app service integration..."