|
|
@ -22,9 +22,10 @@ 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/${APPLICATION}_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
|
|
|
|
|
|
|
|
rm -rf linux-x64.tar.gz
|
|
|
|
msg_ok "Installed Ombi"
|
|
|
|
msg_ok "Installed Ombi"
|
|
|
|
|
|
|
|
|
|
|
|
msg_info "Creating Service"
|
|
|
|
msg_info "Creating Service"
|
|
|
|