aboutsummaryrefslogtreecommitdiffstats
path: root/main/apache2/apache2.pre-upgrade
Commit message (Collapse)AuthorAgeFilesLines
* main/apache2: Unify .pre-upgrade with .pre-install.Przemyslaw Pawelczyk2016-06-291-6/+1
| | | | | | | | | | | | apache2.pre-upgrade now links to apache2.pre-install. It's not something we want to do for all packages in master (edge). apache2 already had .pre-upgrade script (ensuring www-data group existence and making apache user a member of it), which is what existing .pre-install script also does, so this kind of unification is fine here. In most other cases linking .pre-upgrade to .pre-install should happen only in 3.4-stable branch.
* Improve consistency of scripts using adduser/addgroup.Przemyslaw Pawelczyk2016-04-251-0/+1
| | | | | | | | | | | | 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.
* Reorder options passed to addgroup in scripts: make -S first.Przemyslaw Pawelczyk2016-04-251-1/+1
| | | | It's only for consistency and to ease spotting lack of it.
* main/apache2: fix typo in pre-upgrade trigger scriptNatanael Copa2013-10-301-1/+1
|
* main/apache2: add www-data group if its missingNatanael Copa2013-10-281-0/+5
ref #2245