mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 19:55:53 +00:00
Update wikijs-install.sh
This commit is contained in:
@@ -61,7 +61,8 @@ msg_ok "Set up PostgreSQL"
|
|||||||
|
|
||||||
msg_info "Setup Wiki.js"
|
msg_info "Setup Wiki.js"
|
||||||
temp_file=$(mktemp)
|
temp_file=$(mktemp)
|
||||||
RELEASE=$(curl -s https://api.github.com/repos/Requarks/wiki/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
#RELEASE=$(curl -s https://api.github.com/repos/Requarks/wiki/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||||
|
RELEASE=""2.5.305
|
||||||
wget -q "https://github.com/requarks/wiki/releases/download/v${RELEASE}/wiki-js.tar.gz" -O "$temp_file"
|
wget -q "https://github.com/requarks/wiki/releases/download/v${RELEASE}/wiki-js.tar.gz" -O "$temp_file"
|
||||||
mkdir /opt/wikijs
|
mkdir /opt/wikijs
|
||||||
tar -xzf "$temp_file" -C /opt/wikijs
|
tar -xzf "$temp_file" -C /opt/wikijs
|
||||||
|
|||||||
Reference in New Issue
Block a user