From 7ba1ea1cafca3ba04dbce2d6ea02e6a0146bedbb Mon Sep 17 00:00:00 2001 From: Jean-Michel Crepel Date: Mon, 2 Oct 2023 12:01:40 +0200 Subject: [PATCH 1/2] add comment in the datahut header scripts --- datahub/scripts/add-header-webcomponent.sh | 2 ++ datahub/scripts/add-header.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/datahub/scripts/add-header-webcomponent.sh b/datahub/scripts/add-header-webcomponent.sh index aaebcc7b..1eda5af5 100755 --- a/datahub/scripts/add-header-webcomponent.sh +++ b/datahub/scripts/add-header-webcomponent.sh @@ -1,5 +1,7 @@ #!/bin/sh +# To be propertly executed by datahub initialization need the +x flag on the git + DATAHUB_DIR=${1:-/usr/share/nginx/html/datahub} SNIPPET="" diff --git a/datahub/scripts/add-header.sh b/datahub/scripts/add-header.sh index 873a62ac..1ea0c479 100755 --- a/datahub/scripts/add-header.sh +++ b/datahub/scripts/add-header.sh @@ -1,5 +1,7 @@ #!/bin/sh +# To be propertly executed by datahub initialization need the +x flag on the git + DATAHUB_DIR=${1:-/usr/share/nginx/html/datahub} SNIPPET="" From 13c0449b8b0077921fc74feba6abe1ecd933fd09 Mon Sep 17 00:00:00 2001 From: Jean-Michel Crepel Date: Wed, 22 Nov 2023 09:26:23 +0100 Subject: [PATCH 2/2] change comment with review --- datahub/scripts/add-header-webcomponent.sh | 3 ++- datahub/scripts/add-header.sh | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/datahub/scripts/add-header-webcomponent.sh b/datahub/scripts/add-header-webcomponent.sh index 1eda5af5..c8b87ede 100755 --- a/datahub/scripts/add-header-webcomponent.sh +++ b/datahub/scripts/add-header-webcomponent.sh @@ -1,6 +1,7 @@ #!/bin/sh -# To be propertly executed by datahub initialization need the +x flag on the git +# To be properl executed by datahub initialization need the +x flag +# so you need to add it with chmod and commit/push it DATAHUB_DIR=${1:-/usr/share/nginx/html/datahub} SNIPPET="" diff --git a/datahub/scripts/add-header.sh b/datahub/scripts/add-header.sh index 1ea0c479..b4ee279a 100755 --- a/datahub/scripts/add-header.sh +++ b/datahub/scripts/add-header.sh @@ -1,6 +1,8 @@ #!/bin/sh -# To be propertly executed by datahub initialization need the +x flag on the git +# To be properly executed by datahub initialization need the +x flag +# so you need to add it with chmod and commit/push it + DATAHUB_DIR=${1:-/usr/share/nginx/html/datahub} SNIPPET=""