File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22source <( curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
3- # Copyright (c) 2021-2024 tteck
3+ # Copyright (c) 2021-2024 community-scripts ORG
44# Author: Don Locke (DonLocke)
55# License: MIT
66# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- # Copyright (c) 2021-2024 tteck
3+ # Copyright (c) 2021-2024 community-scripts ORG
44# Author: Don Locke (DonLocke)
55# License: MIT
66# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
@@ -48,9 +48,7 @@ msg_info "Installing Wavelog"
4848RELEASE=$( curl -s https://api.github.com/repos/wavelog/wavelog/releases/latest | grep " tag_name" | awk ' {print substr($2, 2, length($2)-3) }' )
4949wget -q " https://github.com/wavelog/wavelog/archive/refs/tags/${RELEASE} .zip"
5050unzip -q ${RELEASE} .zip
51- mkdir -p /opt/wavelog
52- mv wavelog-${RELEASE} /* /opt/wavelog/
53- rm -rf wavelog-${RELEASE}
51+ mv wavelog-${RELEASE} / /opt/wavelog
5452chown -R www-data:www-data /opt/wavelog/
5553find /opt/wavelog/ -type d -exec chmod 755 {} \;
5654find /opt/wavelog/ -type f -exec chmod 664 {} \;
@@ -82,6 +80,7 @@ motd_ssh
8280customize
8381
8482msg_info " Cleaning up"
83+ rm -f ${RELEASE} .zip
8584$STD apt-get -y autoremove
8685$STD apt-get -y autoclean
8786msg_ok " Cleaned"
You can’t perform that action at this time.
0 commit comments