From 68a0aac38d5e009bac4cb5db616d381f6f8c8545 Mon Sep 17 00:00:00 2001 From: Colima Press Date: Sun, 1 Oct 2023 09:44:46 -0700 Subject: [PATCH] =?UTF-8?q?Actualizaci=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/update.sh b/scripts/update.sh index bb8ff83..6696585 100644 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -15,11 +15,12 @@ mkdir public cp -r src/* public rm public/*.* -# Descarga info de GitLab +# Descarga info de linkding curl --request GET \ -s -o $JSON \ -H "Authorization: Token $(<.token)" \ "https://linkding.cuates.net/api/bookmarks/?q=%23blog" +if [ "$?" != 0 ]; then exit 1; fi # Rehace sitio y JSON python3 ./scripts/make.py $JSON