Skip to content

Commit b3c850b

Browse files
committed
Add Copyright, remove zip, and simplify mv in install
1 parent 0bc254d commit b3c850b

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

ct/wavelog.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
source <(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

install/wavelog-install.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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"
4848
RELEASE=$(curl -s https://api.github.com/repos/wavelog/wavelog/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
4949
wget -q "https://github.com/wavelog/wavelog/archive/refs/tags/${RELEASE}.zip"
5050
unzip -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
5452
chown -R www-data:www-data /opt/wavelog/
5553
find /opt/wavelog/ -type d -exec chmod 755 {} \;
5654
find /opt/wavelog/ -type f -exec chmod 664 {} \;
@@ -82,6 +80,7 @@ motd_ssh
8280
customize
8381

8482
msg_info "Cleaning up"
83+
rm -f ${RELEASE}.zip
8584
$STD apt-get -y autoremove
8685
$STD apt-get -y autoclean
8786
msg_ok "Cleaned"

0 commit comments

Comments
 (0)