|
|
@ -69,8 +69,7 @@ if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_v |
|
|
|
cd /opt |
|
|
|
cd /opt |
|
|
|
rm -rf homebox_bak |
|
|
|
rm -rf homebox_bak |
|
|
|
mv homebox homebox_bak |
|
|
|
mv homebox homebox_bak |
|
|
|
wget -q https://github.com/sysadminsmedia/homebox/releases/download/${RELEASE}/homebox_Linux_x86_64.tar.gz |
|
|
|
wget -qO- https://github.com/sysadminsmedia/homebox/releases/download/${RELEASE}/homebox_Linux_x86_64.tar.gz | tar -xzf - -C /opt |
|
|
|
tar -xf homebox_Linux_x86_64.tar.gz |
|
|
|
|
|
|
|
chmod +x /opt/homebox |
|
|
|
chmod +x /opt/homebox |
|
|
|
echo "${RELEASE}" >/opt/${APP}_version.txt |
|
|
|
echo "${RELEASE}" >/opt/${APP}_version.txt |
|
|
|
msg_ok "Updated Homebox" |
|
|
|
msg_ok "Updated Homebox" |
|
|
@ -95,4 +94,4 @@ description |
|
|
|
|
|
|
|
|
|
|
|
msg_ok "Completed Successfully!\n" |
|
|
|
msg_ok "Completed Successfully!\n" |
|
|
|
echo -e "${APP} Setup should be reachable by going to the following URL. |
|
|
|
echo -e "${APP} Setup should be reachable by going to the following URL. |
|
|
|
${BL}http://${IP}:7745${CL} \n" |
|
|
|
${BL}http://${IP}:7745${CL} \n" |
|
|
|