Compare commits

...

2 Commits

Author SHA1 Message Date
Don Locke
3526bc7b00 Update core dependecies 2024-11-15 07:01:51 -07:00
Don Locke
b3c850ba08 Add Copyright, remove zip, and simplify mv in install 2024-11-15 06:58:45 -07:00
2 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
# Copyright (c) 2021-2024 tteck
# Copyright (c) 2021-2024 community-scripts ORG
# Author: Don Locke (DonLocke)
# License: MIT
# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2024 tteck
# Copyright (c) 2021-2024 community-scripts ORG
# Author: Don Locke (DonLocke)
# License: MIT
# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
@ -19,7 +19,9 @@ $STD apt-get install -y \
curl \
libapache2-mod-php \
mariadb-server \
mc \
php8.2-{curl,mbstring,mysql,xml,zip} \
sudo \
unzip
msg_ok "Installed Dependencies"
@ -48,9 +50,7 @@ msg_info "Installing Wavelog"
RELEASE=$(curl -s https://api.github.com/repos/wavelog/wavelog/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
wget -q "https://github.com/wavelog/wavelog/archive/refs/tags/${RELEASE}.zip"
unzip -q ${RELEASE}.zip
mkdir -p /opt/wavelog
mv wavelog-${RELEASE}/* /opt/wavelog/
rm -rf wavelog-${RELEASE}
mv wavelog-${RELEASE}/ /opt/wavelog
chown -R www-data:www-data /opt/wavelog/
find /opt/wavelog/ -type d -exec chmod 755 {} \;
find /opt/wavelog/ -type f -exec chmod 664 {} \;
@ -82,6 +82,7 @@ motd_ssh
customize
msg_info "Cleaning up"
rm -f ${RELEASE}.zip
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"