Compare commits

..

1 Commits

Author SHA1 Message Date
github-actions[bot]
ad5e675ef7 Update CHANGELOG.md 2024-11-25 19:58:49 +00:00
2 changed files with 8 additions and 15 deletions

View File

@ -26,7 +26,6 @@ Do not break established syntax in this file, as it is automatically updated by
### 🚀 Updated Scripts
- Fix bugs in Calibre-Web update [@havardthom](https://github.com/havardthom) ([#517](https://github.com/community-scripts/ProxmoxVE/pull/517))
- Fix upload folder in listmonk LXC [@bvdberg01](https://github.com/bvdberg01) ([#515](https://github.com/community-scripts/ProxmoxVE/pull/515))
### 🌐 Website

View File

@ -61,14 +61,11 @@ function update_script() {
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Stopping ${APP}"
msg_info "Updating $APP LXC"
systemctl stop cps
msg_ok "Stopped ${APP}"
msg_info "Updating ${APP}"
cd /opt/kepubify
rm -rf kepubify-linux-64bit
curl -fsSLO https://github.com/pgaskin/kepubify/releases/latest/download/kepubify-linux-64bit
rm kepubify-linux-64bit
curl -fsSLO https://github.com/pgaskin/kepubify/releases/latest/download/kepubify-linux-64bit &>/dev/null
chmod +x kepubify-linux-64bit
menu_array=("1" "Enables gdrive as storage backend for your ebooks" OFF \
"2" "Enables sending emails via a googlemail account without enabling insecure apps" OFF \
@ -143,19 +140,16 @@ function update_script() {
esac
done
fi
if [ ${#options[@]} -gt 0 ]; then
if [ ! -z "$options" ] && [ ${#options[@]} -gt 0 ]; then
cps_options=$(IFS=, ; echo "${options[*]}")
echo $cps_options > /opt/calibre-web/options.txt
pip install --upgrade calibreweb[$cps_options] &>/dev/null
pip install --upgrade calibreweb[$cps_options]
else
rm -rf /opt/calibre-web/options.txt
pip install --upgrade calibreweb &>/dev/null
rm /opt/calibre-web/options.txt 2> /dev/null
pip install --upgrade calibreweb
fi
msg_info "Starting ${APP}"
systemctl start cps
msg_ok "Started ${APP}"
msg_ok "Updated Successfully"
msg_ok "Updated $APP LXC"
exit
}