|
|
@ -22,7 +22,7 @@ msg_ok "Installed Dependencies"
|
|
|
|
msg_info "Installing Ombi"
|
|
|
|
msg_info "Installing Ombi"
|
|
|
|
RELEASE=$(curl -sL https://api.github.com/repos/Ombi-app/Ombi/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
|
|
|
|
RELEASE=$(curl -sL https://api.github.com/repos/Ombi-app/Ombi/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
|
|
|
|
wget -q https://github.com/Ombi-app/Ombi/releases/download/${RELEASE}/linux-x64.tar.gz
|
|
|
|
wget -q https://github.com/Ombi-app/Ombi/releases/download/${RELEASE}/linux-x64.tar.gz
|
|
|
|
echo "${RELEASE}" >/opt/${APP}_version.txt
|
|
|
|
#echo "${RELEASE}" >/opt/${app}_version.txt
|
|
|
|
mkdir -p /opt/ombi
|
|
|
|
mkdir -p /opt/ombi
|
|
|
|
tar -xzf linux-x64.tar.gz -C /opt/ombi
|
|
|
|
tar -xzf linux-x64.tar.gz -C /opt/ombi
|
|
|
|
msg_ok "Installed Ombi"
|
|
|
|
msg_ok "Installed Ombi"
|
|
|
|