mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-04-20 18:36:31 +02:00
remove empty line, add comment
This commit is contained in:
parent
90ef10c90f
commit
b2bcaf9ac2
@ -6,6 +6,7 @@
|
|||||||
# Tested on
|
# Tested on
|
||||||
# - Fedora 41 @ 14.03.2025 (vmario891)
|
# - Fedora 41 @ 14.03.2025 (vmario891)
|
||||||
# - TuxedoOS 24.04 LTS (Debian based)/noble @ 14.03.2025 (vmario891)
|
# - TuxedoOS 24.04 LTS (Debian based)/noble @ 14.03.2025 (vmario891)
|
||||||
|
# - Ubuntu 24.04 LTS noble @ 18.03.2025 (vmario891)
|
||||||
|
|
||||||
if [ "$EUID" -eq 0 ]
|
if [ "$EUID" -eq 0 ]
|
||||||
then echo "Please do not run as root"
|
then echo "Please do not run as root"
|
||||||
@ -23,7 +24,6 @@ curl --silent ${BOREPIN_RELEASES} | jq -r '.[]|.tag_name' | sed -e 's/v//'
|
|||||||
LATEST_RELEASE=$(curl --silent ${BOREPIN_RELEASES} | jq -r '.[0]|.tag_name' | sed -e 's/release\/v//')
|
LATEST_RELEASE=$(curl --silent ${BOREPIN_RELEASES} | jq -r '.[0]|.tag_name' | sed -e 's/release\/v//')
|
||||||
echo -e "\nLatest release: ${LATEST_RELEASE}"
|
echo -e "\nLatest release: ${LATEST_RELEASE}"
|
||||||
|
|
||||||
|
|
||||||
if [ "$(grep -Ei 'debian|buntu|mint' /etc/*release)" ]; then
|
if [ "$(grep -Ei 'debian|buntu|mint' /etc/*release)" ]; then
|
||||||
PACKMAN="apt-get"
|
PACKMAN="apt-get"
|
||||||
PVENV="python3-venv"
|
PVENV="python3-venv"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user