diff options
author | Holger Paradies <retabell@gmx.de> | 2024-09-21 10:01:17 +0200 |
---|---|---|
committer | Holger Paradies <retabell@gmx.de> | 2024-09-22 14:58:43 +0200 |
commit | 49d3cc1b8630d8a4513ce449bb2c658ec9cd70f9 (patch) | |
tree | ac8b7233e7fb8b7c37bb6686cc5659fe101272f7 /auto | |
parent | 6e40895560f7680258feec65345ce9843e8fbd9b (diff) | |
download | kanotix-49d3cc1b8630d8a4513ce449bb2c658ec9cd70f9.zip kanotix-49d3cc1b8630d8a4513ce449bb2c658ec9cd70f9.tar.gz |
Create partial config log
This will check for download succes
If no succes the iso will be removed
via iso_check in nightly-build bash
TODO: filename in /tmp
Diffstat (limited to 'auto')
-rwxr-xr-x | auto/config | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/auto/config b/auto/config index 28bdde7..e0fb4cd 100755 --- a/auto/config +++ b/auto/config @@ -201,7 +201,13 @@ lb config noauto --linux-packages "$LB_LINUX_PACKAGES" --linux-flavours "$LB_LIN # Fetch kanotix-scripts if necessary mkdir -p config/chroot_local-includes/usr/local/bin +echo "#KLB_config.log" > /tmp/KLB_config.log grep -oe '^[^ #]*' scripts.urls | wget -i- -N -q -P config/chroot_local-includes/usr/local/bin +if [ $? -ne 0 ]; then + echo "E: Script download failed..." >>/tmp/KLB_config.log +else + echo "Debug: Script download succes..." >>/tmp/KLB_config.log +fi chmod 755 config/chroot_local-includes/usr/local/bin/*sh || : case "$LB_DISTRIBUTION" in |