[library-web/oscp] Ensure supposedly latest release notes exist before symlinking
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web/oscp] Ensure supposedly latest release notes exist before symlinking
- Date: Wed, 1 Sep 2021 11:36:13 +0000 (UTC)
commit ed375f4c3f3576657811a7799cb86639956b28f3
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Wed Sep 1 13:35:57 2021 +0200
Ensure supposedly latest release notes exist before symlinking
lgo/entrypoint.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lgo/entrypoint.sh b/lgo/entrypoint.sh
index 7c5836e8..da3c02fa 100755
--- a/lgo/entrypoint.sh
+++ b/lgo/entrypoint.sh
@@ -17,7 +17,7 @@ if [[ $LATEST_RELEASE -ge 40 ]]; then
fi
rm -f stable
-ln -sf "${LATEST_RELEASE}" stable
+[[ -d "${LATEST_RELEASE}" ]] && ln -sf "${LATEST_RELEASE}" stable
cd /data/logs || exit
zstd -f --rm ./*.log
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]