Skip to content
Snippets Groups Projects
Commit 9e551f1b authored by Sebastian Kemper's avatar Sebastian Kemper
Browse files

apache: add postinstall script


This script notifies users about the changes that recently went into the
package, to prevent surprises.

Signed-off-by: default avatarSebastian Kemper <sebastian_ml@gmx.net>
parent 019b8fd0
No related branches found
No related tags found
No related merge requests found
......@@ -96,6 +96,24 @@ define Package/apache/conffiles
/etc/init.d/apache2
endef
define Package/apache/postinst
#!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then
echo
echo "o-------------------------------------------------------------------o"
echo "| Apache package changes |"
echo "o-------------------------------------------------------------------o"
echo "| - The server binary was renamed from httpd to apache2 |"
echo "| - A simple init script is installed (/etc/init.d/apache2) |"
echo "| - The server runs as user apache by default now |"
echo "| - Configuration resides in /etc/apache2 instead of /etc/apache |"
echo "| - Modules are installed to /usr/lib/apache2 |"
echo "o-------------------------------------------------------------=^_^=-o"
echo
fi
exit 0
endef
define Package/apache-ab
$(call Package/apache/Default)
TITLE:=Apache benchmark utility
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment