mirror of https://github.com/tteck/Proxmox.git
ping ghostfolio version
This commit is contained in:
parent
1ef030d338
commit
83656ee57b
|
@ -84,7 +84,7 @@ echo -e "ghostery Redis Password: \e[32m$REDIS_PASSWORD\e[0m" >>~/ghostery.creds
|
||||||
# GHOSTFOLIO =================================
|
# GHOSTFOLIO =================================
|
||||||
## Setup Vars
|
## Setup Vars
|
||||||
NODE_VERSION=20
|
NODE_VERSION=20
|
||||||
GHOSTFOLIO_VERSION='latest'
|
GHOSTFOLIO_VERSION='2.117.0'
|
||||||
|
|
||||||
cd /opt/
|
cd /opt/
|
||||||
|
|
||||||
|
@ -102,11 +102,11 @@ $STD apt-get install -y --no-install-suggests \
|
||||||
openssl \
|
openssl \
|
||||||
python3
|
python3
|
||||||
|
|
||||||
# Determine the latest version if needed
|
# Determine the latest version if needed - find another way, this resolves correctly but throws: -bash: line 107: version=https://github.com/ghostfolio/ghostfolio/releases/tag/2.117.0: No such file or directory
|
||||||
if [[ "$GHOSTFOLIO_VERSION" == "latest" ]]; then
|
# if [[ "$GHOSTFOLIO_VERSION" == "latest" ]]; then
|
||||||
$STD version=$(curl -Ls -o /dev/null -w %{url_effective} https://github.com/ghostfolio/ghostfolio/releases/latest)
|
# $STD version=$(curl -Ls -o /dev/null -w %{url_effective} https://github.com/ghostfolio/ghostfolio/releases/latest)
|
||||||
$STD GHOSTFOLIO_VERSION=${version##*/}
|
# $STD GHOSTFOLIO_VERSION=${version##*/}
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
# Get the realease
|
# Get the realease
|
||||||
$STD curl -Ls -o ghostfolio-$GHOSTFOLIO_VERSION.tgz https://github.com/ghostfolio/ghostfolio/archive/refs/tags/$GHOSTFOLIO_VERSION.tar.gz
|
$STD curl -Ls -o ghostfolio-$GHOSTFOLIO_VERSION.tgz https://github.com/ghostfolio/ghostfolio/archive/refs/tags/$GHOSTFOLIO_VERSION.tar.gz
|
||||||
|
|
Loading…
Reference in New Issue