Compare commits

...

5 Commits

Author SHA1 Message Date
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
tteckster 9bfbb57f11
Update alpine-vaultwarden-v5.sh
change update
2023-03-11 10:09:26 -05:00
tteckster f58bde28c8
Update alpine-vaultwarden-v5-install.sh 2023-03-11 09:55:16 -05:00
tteckster e1f4f4b436
Update alpine-vaultwarden-v5-install.sh 2023-03-11 09:50:42 -05:00
tteckster 1a1cd2d0f9
Update alpine-vaultwarden-v5-install.sh
switch to edge repos
2023-03-11 09:42:23 -05:00
3 changed files with 6 additions and 11 deletions

View File

@ -369,7 +369,7 @@ while [ "$opt" != "" ]; do
clear
echo -e "${fgred}Update Vaultwarden${normal}"
apk update &>/dev/null
apk upgrade --update-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing vaultwarden
apk upgrade &>/dev/null
break
;;

View File

@ -67,8 +67,8 @@ if [ "$(ip addr show | grep 'inet ' | grep -v '127.0.0.1' | awk '{print $2}' | c
exit 1
fi
cat <<EOF >/etc/apk/repositories
https://dl-cdn.alpinelinux.org/alpine/latest-stable/main
https://dl-cdn.alpinelinux.org/alpine/latest-stable/community
https://dl-cdn.alpinelinux.org/alpine/edge/main
https://dl-cdn.alpinelinux.org/alpine/edge/community
https://dl-cdn.alpinelinux.org/alpine/edge/testing
EOF
msg_ok "Set up Container OS"
@ -119,14 +119,6 @@ $STD rc-service vaultwarden start
$STD rc-update add vaultwarden default
msg_ok "Installed Vaultwarden"
msg_info "Downloading Web-Vault"
WEBVAULT=$(curl -s https://api.github.com/repos/dani-garcia/bw_web_builds/releases/latest |
grep "tag_name" |
awk '{print substr($2, 2, length($2)-3) }')
$STD curl -fsSLO https://github.com/dani-garcia/bw_web_builds/releases/download/$WEBVAULT/bw_web_$WEBVAULT.tar.gz
$STD tar -xzf bw_web_$WEBVAULT.tar.gz -C /var/lib/vaultwarden/
msg_ok "Downloaded Web-Vault"
echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd
if [[ "${SSH_ROOT}" == "yes" ]]; then
$STD rc-update add sshd

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