forked from cohabit/server_config
fix: typo in variable assignement from expression
This commit is contained in:
parent
277e891b21
commit
4a68d0757d
|
@ -1,5 +1,5 @@
|
||||||
# Get latest forgejo tag
|
# Get latest forgejo tag
|
||||||
LATEST=curl -fsS https://codeberg.org/forgejo/forgejo/releases/latest | grep -o "[0-9].[0-9].[0-9]" | head -1
|
LATEST=$(curl -fsS https://codeberg.org/forgejo/forgejo/releases/latest | grep -o "[0-9].[0-9].[0-9]" | head -1)
|
||||||
|
|
||||||
# Check if already installed
|
# Check if already installed
|
||||||
if [[ $(forgejo -v 2> /dev/null | grep -o "[0-9].[0-9].[0-9]" | head -1) != $LATEST ]]; then
|
if [[ $(forgejo -v 2> /dev/null | grep -o "[0-9].[0-9].[0-9]" | head -1) != $LATEST ]]; then
|
||||||
|
|
Loading…
Reference in a new issue