mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 04:15:26 +00:00
postinst scripts: update timestamp on imgs,css,js to let apache know the files changed
Monotone-Parent: 831fbe8327001cd5d78c09a8787012513b017089 Monotone-Revision: a59a10e4b696e7b04ce4b5dffd0f66574c31525f Monotone-Author: jraby@inverse.ca Monotone-Date: 2012-03-16T15:39:05
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2012-03-16 Jean Raby <jraby@inverse.ca>
|
||||
|
||||
* sogo.spec debian/sogo.postint: upon installation, update timestamp
|
||||
on WebServerResources/* to let the webserver know the files changed.
|
||||
Should fix issues where browsers would use a locally cached version
|
||||
of a resource when the sogo package have just been upgraded.
|
||||
|
||||
2012-03-15 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/generic.js (onPreferencesClick): don't
|
||||
|
||||
Vendored
+2
@@ -18,6 +18,8 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
# update timestamp on imgs,css,js to let apache know the files changed
|
||||
find /usr/lib/GNUstep/SOGo/WebServerResources -exec touch {} \;
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
|
||||
@@ -289,6 +289,8 @@ if ! id sogo >& /dev/null; then /usr/sbin/adduser sogo > /dev/null 2>&1; fi
|
||||
/bin/chown sogo /var/log/sogo
|
||||
/bin/chown sogo /var/spool/sogo
|
||||
/bin/chmod 700 /var/spool/sogo
|
||||
# update timestamp on imgs,css,js to let apache know the files changed
|
||||
find %{_libdir}/GNUstep/SOGo/WebServerResources -exec touch {} \;
|
||||
/sbin/chkconfig --add sogod
|
||||
|
||||
%preun
|
||||
@@ -309,6 +311,9 @@ fi
|
||||
|
||||
# ********************************* changelog *************************
|
||||
%changelog
|
||||
* Fri Mar 16 2012 Jean Raby <jraby@inverse.ca>
|
||||
- %post: update timestamp on imgs,css,js to let apache know the files changed
|
||||
|
||||
* Fri Feb 16 2012 Jean Raby <jraby@inverse.ca>
|
||||
- Use globbing to include all sql upgrade scripts instead of listing them all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user