mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
Fix existing options parsing (removed hardcoded variable assignment); Remove carriage return after default login message
This commit is contained in:
parent
45caab9b0a
commit
9f44f6cd28
2 changed files with 1 additions and 3 deletions
|
@ -79,7 +79,6 @@ function update_script() {
|
|||
cps_options="$(cat /opt/calibre-web/options.txt)"
|
||||
IFS=',' read -ra ADDR <<< "$cps_options"
|
||||
for i in "${ADDR[@]}"; do
|
||||
# process "$i"
|
||||
if [ $i == "gdrive" ]; then
|
||||
line=0
|
||||
elif [ $i == "gmail" ]; then
|
||||
|
@ -97,7 +96,6 @@ function update_script() {
|
|||
elif [ $i == "kobo" ]; then
|
||||
line=7
|
||||
fi
|
||||
line=3
|
||||
array_index=$(( 3*line + 2 ))
|
||||
menu_array[$array_index]=ON
|
||||
done
|
||||
|
|
|
@ -60,5 +60,5 @@ msg_ok "Cleaned"
|
|||
|
||||
echo -e "Default login for Calibre-web:
|
||||
user: ${BL}admin${CL}
|
||||
password: ${BL}admin123${CL} \n"
|
||||
password: ${BL}admin123${CL}"
|
||||
echo -e "${YW}Run the update script inside the container to install calibre-web optional dependencies (such as ldap or kobo support).${CL}"
|
Loading…
Add table
Add a link
Reference in a new issue