Commit acfb821e authored by Przemysław Pawełczyk's avatar Przemysław Pawełczyk Committed by Natanael Copa

main/apache2: Unify .pre-upgrade with .pre-install.

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.
parent 4d973834
#!/bin/sh
addgroup -S -g 82 www-data 2>/dev/null
addgroup apache www-data 2>/dev/null
exit 0
apache2.pre-install
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment