4 Commits

Author SHA1 Message Date
Przemyslaw Pawelczyk
a60b9f07de Improve consistency of scripts using adduser/addgroup.
Following rules have been applied:
- script starts with shebang !#/bin/sh followed by blank line,
- script ends with exit 0 prepended by blank line,
- only stderr of adduser, addgroup or passwd is redirected to /dev/null,
- getent passwd/group instances has been removed,
- manual checking of file and group existence has been removed,
- `|| true` instances has been removed.

Comments and line wrapping have been preserved.
2016-04-25 06:55:43 +00:00
Przemyslaw Pawelczyk
694ace841f Reorder options passed to addgroup in scripts: make -S first.
It's only for consistency and to ease spotting lack of it.
2016-04-25 06:51:49 +00:00
Natanael Copa
435459d677 main/apache2: fix typo in pre-upgrade trigger script 2013-10-30 10:58:13 +00:00
Natanael Copa
71f74b583d main/apache2: add www-data group if its missing
ref #2245
2013-10-28 12:07:25 +00:00