This commit is contained in:
Marc Beninca 2024-06-05 11:32:25 +02:00
parent 2eb03cf863
commit 4fc693a17e
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,15 +0,0 @@
[ "${1}" ] && REPOSITORY_FULL="${1}" || exit
REPOSITORY_NAME="$(basename ${REPOSITORY_FULL})"
REPOSITORY_TEMP="$(mktemp --directory)"
git clone \
-- \
"${GITHUB_SERVER_URL}/${REPOSITORY_FULL}" \
"${REPOSITORY_TEMP}"
mv "${REPOSITORY_TEMP}/${REPOSITORY_NAME}" \
/usr/local/lib/python3.*/dist-packages/
rm --force --recursive \
"${REPOSITORY_TEMP}"