1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-16 04:24:56 +02:00

minor style fixes.

This commit is contained in:
Henrik Hautakoski 2024-09-12 08:20:16 +02:00
parent 70aa6cd295
commit 84547e5ad3
2 changed files with 9 additions and 11 deletions

View file

@ -2,14 +2,14 @@
set -e
if [ "$1" = 'configure' ]; then
adduser --force-badname --system --home /nonexistent \
adduser --force-badname --system --home /nonexistent \
--group --no-create-home --quiet thalos || true
# Create log directory
mkdir -p /var/log/thalos
chown thalos:adm /var/log/thalos
# Create log directory
mkdir -p /var/log/thalos
chown thalos:adm /var/log/thalos
fi
#DEBHELPER#
exit 0
exit 0

10
debian/thalos.postrm vendored
View file

@ -3,11 +3,9 @@ set -e
#DEBHELPER#
if [ "${1}" = "purge" ]
then
deluser --quiet thalos > /dev/null || true
rm -rf /var/log/thalos
if [ "${1}" = "purge" ]; then
deluser --quiet thalos >/dev/null || true
rm -rf /var/log/thalos
fi
exit 0
exit 0