projects
/
apache2-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modified debian/changelog.
[apache2-cn.git]
/
debian
/
config
diff --git
a/debian/config
b/debian/config
index
e430173
..
6574486
100755
(executable)
--- a/
debian/config
+++ b/
debian/config
@@
-5,6
+5,19
@@
set -e
# Load debconf
. /usr/share/debconf/confmodule
# Load debconf
. /usr/share/debconf/confmodule
+if [ "$1" != reconfigure ]; then
+
+ apache2_done=1
+
+ db_fget apache2-cn/wwwhost seen
+ if [ "$RET" != "true" ]; then
+ apache2_done=0
+ fi
+
+ test $apache2_done -eq 1 && exit 0
+fi
+
+
CONFDIR="/etc/apache2"
CONF="$CONFDIR/apache2.conf"
HOST=$(hostname)
CONFDIR="/etc/apache2"
CONF="$CONFDIR/apache2.conf"
HOST=$(hostname)