From 19e2a8d83977a692a3489b7163d5c9b66adee4ad Mon Sep 17 00:00:00 2001 From: dkoukoul Date: Fri, 22 Mar 2024 15:10:28 +0200 Subject: [PATCH 1/4] create dest folder --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index bec5528..7f22843 100755 --- a/scripts/install +++ b/scripts/install @@ -16,6 +16,8 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression --message="Setting up source files..." --weight=1 +mkdir -p $install_dir + # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" From dab24ca55d5ae639753d912359900af9da6f975e Mon Sep 17 00:00:00 2001 From: dkoukoul Date: Fri, 22 Mar 2024 16:56:14 +0200 Subject: [PATCH 2/4] debud --- scripts/install | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 7f22843..5bcb954 100755 --- a/scripts/install +++ b/scripts/install @@ -15,9 +15,8 @@ source /usr/share/yunohost/helpers # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= ynh_script_progression --message="Setting up source files..." --weight=1 - -mkdir -p $install_dir - +ls -la $install_dir +find / -name cjdroute 2>/dev/null # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" From 49dd439d4a429842dc51ce43d832615153ff4755 Mon Sep 17 00:00:00 2001 From: dkoukoul Date: Tue, 26 Mar 2024 16:38:19 +0200 Subject: [PATCH 3/4] subdir --- manifest.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index b32b906..093d9f2 100644 --- a/manifest.toml +++ b/manifest.toml @@ -36,7 +36,8 @@ ram.runtime = "50M" amd64.sha256 = "32948ed786abd02d49c86ff614df5a49e629b14a7495ac96b641baddcd57945b" arm64.url = "https://github.com/dkoukoul/cjdns/releases/download/v22-7/cjdroute_linux_arm64.tar.gz" arm64.sha256 = "8c391e024cc9094f0ec23ac325c2115013757da34fe730d46fc17436cf4773da" - + in_subdir = false + [resources.system_user] [resources.install_dir] From a8f87c2d3062a2cf0cb95f309c8b9caad175eaa9 Mon Sep 17 00:00:00 2001 From: dkoukoul Date: Tue, 26 Mar 2024 16:45:49 +0200 Subject: [PATCH 4/4] remove debug info --- scripts/install | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 5bcb954..bec5528 100755 --- a/scripts/install +++ b/scripts/install @@ -15,8 +15,7 @@ source /usr/share/yunohost/helpers # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= ynh_script_progression --message="Setting up source files..." --weight=1 -ls -la $install_dir -find / -name cjdroute 2>/dev/null + # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir"