diff --git a/ct/hoarder.sh b/ct/hoarder.sh index 15d96efab..dea6c1b7d 100644 --- a/ct/hoarder.sh +++ b/ct/hoarder.sh @@ -37,6 +37,9 @@ function update_script() { if [[ $(corepack -v) < "0.31.0" ]]; then $STD npm install -g corepack@0.31.0 fi + if [[ "${PREV_RELEASE}" < 0.23.0 ]]; then + $STD apt-get install -y graphicsmagick ghostscript + fi cd /opt if [[ -f /opt/hoarder/.env ]] && [[ ! -f /etc/hoarder/hoarder.env ]]; then mkdir -p /etc/hoarder diff --git a/install/hoarder-install.sh b/install/hoarder-install.sh index 61ee8b8c6..b0fc7f0d5 100644 --- a/install/hoarder-install.sh +++ b/install/hoarder-install.sh @@ -24,6 +24,8 @@ $STD apt-get install -y \ ca-certificates \ chromium/stable \ chromium-common/stable \ + graphicsmagick \ + ghostscript \ mc msg_ok "Installed Dependencies"