mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-16 04:24:56 +02:00
minor style fixes.
This commit is contained in:
parent
70aa6cd295
commit
84547e5ad3
2 changed files with 9 additions and 11 deletions
10
debian/thalos.postinst
vendored
10
debian/thalos.postinst
vendored
|
|
@ -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
10
debian/thalos.postrm
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue