Skip to content

Commit f690a74

Browse files
committed
update mysql
1 parent 422bb0a commit f690a74

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ct/ghost.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ function update_script() {
2424
check_container_storage
2525
check_container_resources
2626

27+
if ! dpkg-query -W -f='${Status}' mariadb-server 2>/dev/null | grep -q "install ok installed"; then
28+
setup_mysql
29+
fi
2730
NODE_VERSION="22" setup_nodejs
31+
2832
msg_info "Updating ${APP} LXC"
2933
if command -v ghost &>/dev/null; then
3034
current_version=$(ghost version | grep 'Ghost-CLI version' | awk '{print $3}')

install/ghost-install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ update_os
1616
msg_info "Installing Dependencies"
1717
$STD apt-get install -y \
1818
nginx \
19-
ca-certificates
19+
ca-certificates \
20+
libjemalloc2
2021
msg_ok "Installed Dependencies"
2122

2223
setup_mysql

0 commit comments

Comments
 (0)