1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-07-03 11:53:41 +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,12 +2,12 @@
set -e set -e
if [ "$1" = 'configure' ]; then if [ "$1" = 'configure' ]; then
adduser --force-badname --system --home /nonexistent \ adduser --force-badname --system --home /nonexistent \
--group --no-create-home --quiet thalos || true --group --no-create-home --quiet thalos || true
# Create log directory # Create log directory
mkdir -p /var/log/thalos mkdir -p /var/log/thalos
chown thalos:adm /var/log/thalos chown thalos:adm /var/log/thalos
fi fi
#DEBHELPER# #DEBHELPER#

View file

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