mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-22 21:45:16 +00:00
Refactor cleanup steps to use cleanup_lxc function (#9354)
This commit is contained in:
@@ -20,6 +20,7 @@ curl -fsSL "https://files.teamspeak-services.com/releases/server/${RELEASE}/team
|
||||
tar -xf ./ts3server.tar.bz2
|
||||
mv teamspeak3-server_linux_amd64/ /opt/teamspeak-server/
|
||||
touch /opt/teamspeak-server/.ts3server_license_accepted
|
||||
rm -f ~/ts3server.tar.bz*
|
||||
echo "${RELEASE}" >~/.teamspeak-server
|
||||
msg_ok "Setup Teamspeak Server"
|
||||
|
||||
@@ -48,10 +49,4 @@ msg_ok "Created service"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
|
||||
msg_info "Cleaning up"
|
||||
rm -f ~/ts3server.tar.bz*
|
||||
$STD apt -y autoremove
|
||||
$STD apt -y autoclean
|
||||
$STD apt -y clean
|
||||
msg_ok "Cleaned"
|
||||
cleanup_lxc
|
||||
|
||||
Reference in New Issue
Block a user