From 65fc93688894b0144e69773989af1d52d946f35e Mon Sep 17 00:00:00 2001 From: Tobias Date: Thu, 27 Jul 2023 20:40:54 +0200 Subject: [PATCH] created folder and first version for the install script --- scripts/install | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 scripts/install diff --git a/scripts/install b/scripts/install new file mode 100644 index 0000000..8aa7698 --- /dev/null +++ b/scripts/install @@ -0,0 +1,16 @@ +#!/bin/bash + +source /usr/share/yunohost/helpers + +#================================================= +# DOWNLOAD, CHECK AND UNPACK SOURCE +#================================================= +ynh_script_progression --message="Setting up source files..." --weight=1 + +ynh_setup_source --dest_dir="$install_dir" + +chown -R $app:www-data "$install_dir" +chmod -R o-rwx "$install_dir" + + +