projects
/
mailman-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
555fd6a
)
izmjene u postinstu
squeeze
debian/2.1.13-1
author
Ivan Rako
<irako@nekkar.carnet.hr>
Fri, 10 Jun 2011 15:54:50 +0000
(17:54 +0200)
committer
Ivan Rako
<irako@nekkar.carnet.hr>
Fri, 10 Jun 2011 15:54:50 +0000
(17:54 +0200)
debian/postinst
patch
|
blob
|
history
diff --git
a/debian/postinst
b/debian/postinst
index
777d08b
..
2d51a67
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-160,23
+160,21
@@
for lang in ${site_languages}; do
cmp -s ${mm_etc}/${langfile} ${mm_etc}/${langfile}.dpkg-dist \
&& rm ${mm_etc}/${langfile}.dpkg-dist
done
cmp -s ${mm_etc}/${langfile} ${mm_etc}/${langfile}.dpkg-dist \
&& rm ${mm_etc}/${langfile}.dpkg-dist
done
- printf " done." >&2
+ echo " done." >&2
done
db_go || true
db_stop || true
# restart mailman
done
db_go || true
db_stop || true
# restart mailman
-if [ "$restart" = "yes" -a -x /etc/init.d/mailman -a -x /usr/sbin/invoke-rc.d]; then
+if [ "$restart" = "yes" -a -x /etc/init.d/mailman -a -x /usr/sbin/invoke-rc.d ]; then
invoke-rc.d mailman stop
invoke-rc.d mailman start
fi
# reload apache2
invoke-rc.d mailman stop
invoke-rc.d mailman start
fi
# reload apache2
-if [ -x /usr/sbin/invoke-rc.d ]; then
- [ -x /etc/init.d/apache2 ] && invoke-rc.d apache2 reload
-else
- [ -x /etc/init.d/apache2 ] && /etc/init.d/apache2 reload
+if [ -x /usr/sbin/invoke-rc.d -a -x /etc/init.d/apache2 ]; then
+ invoke-rc.d apache2 reload
fi
# promjena passworda
fi
# promjena passworda