Port two recent debian packaging commits to debian-multiarch
Add a post-install/upgrade note on DB schema upgrade. commitpull/215/head9d7a21883a
Make example scripts in documentation executable. commit1f029c9c70
parent
431fe3406f
commit
3ab9fb481c
|
@ -21,11 +21,25 @@ case "$1" in
|
|||
# update timestamp on imgs,css,js to let apache know the files changed
|
||||
find /usr/lib/GNUstep/SOGo/WebServerResources -exec touch {} \;
|
||||
|
||||
# Make example scripts in /usr/share/doc/sogo/ executable
|
||||
# (they do not really belong there, we are violating Debian
|
||||
# packaging guidelines, but OTOH moving these files now would
|
||||
# break lots of setups)
|
||||
chmod a+x /usr/share/doc/sogo/*.sh
|
||||
|
||||
# Enforce owner+mode on configuration
|
||||
chmod 750 /etc/sogo
|
||||
chown root:sogo /etc/sogo
|
||||
chmod 640 /etc/sogo/sogo.conf
|
||||
chown root:sogo /etc/sogo/sogo.conf
|
||||
cat << EOF
|
||||
======= Important SOGo post-installation note =======
|
||||
|
||||
SOGo database schemas are _not_ automatically upgraded by
|
||||
the packaging system.
|
||||
|
||||
Please check the list of database schema upgrade scripts
|
||||
inside /usr/share/doc/sogo/ and apply them if needed.
|
||||
|
||||
# Apache 2.2 / 2.4 kungfu
|
||||
COMMON_STATE=$(dpkg-query -f '${Status}' -W 'apache2.2-common' 2>/dev/null | awk '{print $3}' || true)
|
||||
|
|
Loading…
Reference in New Issue