diff --git a/ct/calibre-web.sh b/ct/calibre-web.sh index 99b5fead..41690614 100644 --- a/ct/calibre-web.sh +++ b/ct/calibre-web.sh @@ -121,7 +121,7 @@ function update_script() { ;; "4") options+=( ldap ) - $STD apt-get install -qqy libldap2-dev libsasl2-dev + apt-get install -qqy libldap2-dev libsasl2-dev ;; "5") options+=( oauth ) @@ -145,10 +145,10 @@ function update_script() { if [ ! -z "$options" ] && [ ${#options[@]} -gt 0 ]; then cps_options=$(IFS=, ; echo "${options[*]}") echo $cps_options > /opt/calibre-web/options.txt - $STD pip install --upgrade calibreweb[$cps_options] + pip install --upgrade calibreweb[$cps_options] else rm /opt/calibre-web/options.txt 2> /dev/null - $STD pip install --upgrade calibreweb + pip install --upgrade calibreweb fi systemctl start cps msg_ok "Updated $APP LXC" diff --git a/install/calibre-web-install.sh b/install/calibre-web-install.sh index 7f38e044..6a21c831 100644 --- a/install/calibre-web-install.sh +++ b/install/calibre-web-install.sh @@ -59,5 +59,6 @@ $STD apt-get autoclean msg_ok "Cleaned" echo -e "Default login for Calibre-web: - user: ${BL}admin${CL} \n - password: ${BL}admin123${CL} \n" \ No newline at end of file + user: ${BL}admin${CL} + password: ${BL}admin123${CL} \n" +echo -e "${YW}Run the update script inside the container to install calibre-web optional dependencies (such as ldap or kobo support).${CL}" \ No newline at end of file