Seperate hedgewars from main deploy script

This commit is contained in:
DeathByDenim 2022-02-12 14:53:47 -05:00
parent 9818b76314
commit 52c3ac6cff
Signed by: DeathByDenim
GPG Key ID: 4A475283D925365B
2 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,7 @@ apt update -y && apt full-upgrade -y
apt install --assume-yes \
git tmux unzip curl vim openjdk-11-jdk xz-utils python3-venv python3-pip \
python3-dev apt virtualenv python3-virtualenv libjpeg-dev zlib1g-dev \
fuse hedgewars g++ gcc curl firewalld automake autoconf libtool \
fuse g++ gcc curl firewalld automake autoconf libtool \
libcurl3-dev libc-ares-dev zlib1g-dev libncurses-dev make python3-aiohttp \
nginx-core certbot python3-certbot-nginx sudo python3-psutil

View File

@ -1,6 +1,8 @@
#!/bin/bash
set -e
apt install --assume-yes hedgewars
if [ -e /etc/systemd/system/hedgewars.service ]; then
systemctl stop hedgewars
fi