aboutsummaryrefslogtreecommitdiffstats
path: root/main/apache2
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@zoho.com>2016-06-17 17:36:18 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-06-29 09:48:24 +0000
commitacfb821e3de3f26d07643213662fdedee918e457 (patch)
tree3f52fae7501b5f46f0b344e9db904981b0f75feb /main/apache2
parent4d973834a3ffb5c1984bb110afabc90b647d0e8c (diff)
downloadaports-acfb821e3de3f26d07643213662fdedee918e457.tar.bz2
aports-acfb821e3de3f26d07643213662fdedee918e457.tar.xz
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.
Diffstat (limited to 'main/apache2')
l---------[-rw-r--r--]main/apache2/apache2.pre-upgrade7
1 files changed, 1 insertions, 6 deletions
diff --git a/main/apache2/apache2.pre-upgrade b/main/apache2/apache2.pre-upgrade
index bb3dba99cb..df3b230380 100644..120000
--- a/main/apache2/apache2.pre-upgrade
+++ b/main/apache2/apache2.pre-upgrade
@@ -1,6 +1 @@
-#!/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