soundfx-bot/debian/postinst
2023-03-29 18:16:04 +01:00

14 lines
236 B
Bash
Executable File

#!/bin/bash
set -e
id -u soundfx &>/dev/null || useradd -r -M soundfx
if [ ! -f /etc/soundfx-rs/config.env ]; then
cp /etc/soundfx-rs/default.env /etc/soundfx-rs/config.env
fi
chown soundfx /etc/soundfx-rs/config.env
#DEBHELPER#