Compare commits

..

2 Commits

Author SHA1 Message Date
tteckster d0311a3f1b
Update casaos-v5.sh
add function install_script 🤷🏻‍♂️
2023-03-11 13:44:53 -05:00
tteckster e6db5a353b
Update postgresql-v5-install.sh
ensure that the PostgreSQL database server uses UTF-8 encoding and collation
2023-03-11 12:47:11 -05:00
2 changed files with 19 additions and 0 deletions

View File

@ -344,6 +344,22 @@ else
fi
}
function install_script() {
ARCH_CHECK
PVE_CHECK
NEXTID=$(pvesh get /cluster/nextid)
header_info
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
header_info
echo -e "${BL}Using Default Settings${CL}"
default_settings
else
header_info
echo -e "${RD}Using Advanced Settings${CL}"
advanced_settings
fi
}
function update_script() {
header_info
msg_info "Updating ${APP} LXC"

View File

@ -47,6 +47,9 @@ function msg_error() {
msg_info "Setting up Container OS "
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
locale-gen >/dev/null
LANG=$(grep -v '^#' /etc/locale.gen | grep -o '^[^ ]*')
update-locale LANG=$LANG
echo "export LANG=$LANG" >> ~/.bashrc
echo $tz > /etc/timezone
ln -sf /usr/share/zoneinfo/$tz /etc/localtime
for ((i=RETRY_NUM; i>0; i--)); do