From dc83c4c22b2a4c5d7d0858fb941f1239616c4b9b Mon Sep 17 00:00:00 2001 From: cyteen Date: Fri, 3 May 2024 14:37:03 +0100 Subject: [PATCH] Change USER to GITUSER so that cutting and pasting will work in a term. --- 020_lxml-stubs.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/020_lxml-stubs.sh b/020_lxml-stubs.sh index 773a230..fe8c9bf 100644 --- a/020_lxml-stubs.sh +++ b/020_lxml-stubs.sh @@ -2,14 +2,14 @@ DEST=${1:-/etc/skel} -USER=lxml +GITUSER=lxml PROJECT=lxml-stubs -git_url="https://github.com/${USER}/${PROJECT}" +git_url="https://github.com/${GITUSER}/${PROJECT}" -VERSION=$(curl "https://api.github.com/repos/${USER}/${PROJECT}/tags?per_page=5" | jq -r '.[0] | .name') +VERSION=$(curl "https://api.github.com/repos/${GITUSER}/${PROJECT}/tags?per_page=5" | jq -r '.[0] | .name') -RSS_FEED="https://github.com/${USER}/${PROJECT}/releases.atom" +RSS_FEED="https://github.com/${GITUSER}/${PROJECT}/releases.atom" # xdg-open ${RSS_FEED} echo ${RSS_FEED}