Mail archive
alpine-aports

[alpine-aports] [PATCH 1/3] main/apache2: Unify .pre-upgrade with .pre-install.

From: Przemyslaw Pawelczyk <przemoc_at_zoho.com>
Date: Mon, 20 Jun 2016 12:18:39 +0200

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.
---
 main/apache2/apache2.pre-upgrade | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
 mode change 100644 => 120000 main/apache2/apache2.pre-upgrade
diff --git a/main/apache2/apache2.pre-upgrade b/main/apache2/apache2.pre-upgrade
deleted file mode 100644
index bb3dba99cbdb..000000000000
--- a/main/apache2/apache2.pre-upgrade
+++ /dev/null
_at_@ -1,6 +0,0 @@
-#!/bin/sh
-
-addgroup -S -g 82 www-data 2>/dev/null
-addgroup apache www-data 2>/dev/null
-
-exit 0
diff --git a/main/apache2/apache2.pre-upgrade b/main/apache2/apache2.pre-upgrade
new file mode 120000
index 000000000000..df3b23038035
--- /dev/null
+++ b/main/apache2/apache2.pre-upgrade
_at_@ -0,0 +1 @@
+apache2.pre-install
\ No newline at end of file
-- 
2.6.6
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Jun 20 2016 - 12:18:39 GMT