Projects
Kolab:3.4:Updates
chwala
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 17
View file
chwala.dsc
Changed
@@ -2,7 +2,7 @@ Source: chwala Binary: chwala Architecture: all -Version: 0.1~dev20130809-2~kolab4 +Version: 0.1~dev20130809-2~kolab7 Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Uploaders: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>, Paul Klos <kolab@klos2day.nl> Homepage: http://kolab.org/about/chwala/
View file
debian.changelog
Changed
@@ -1,3 +1,10 @@ +chwala (0.1~dev20130809-2~kolab7) unstable; urgency=low + + * enable site chwala + * reload apache, not restart + + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Thu, 21 Nov 2013 07:14:39 -0500 + chwala (0.1~dev20130809-2~kolab4) unstable; urgency=low * not referencing chwala.conf file in absolute path in build directory
View file
debian.tar.gz/postinst
Changed
@@ -2,16 +2,36 @@ set -e -fix_permissions() { - chown -R www-data:adm /var/cache/chwala - chown -R www-data:adm /var/lib/chwala - chown -R www-data:adm /var/log/chwala +fixperms() { + chown -R www-data:adm \ + /var/cache/chwala \ + /var/lib/chwala \ + /var/log/chwala + chmod 750 \ + /var/cache/chwala \ + /var/lib/chwala \ + /var/log/chwala } -case $1 in - *) - fix_permissions - ;; +reload_apache() +{ + if apache2ctl configtest 2>/dev/null; then + invoke-rc.d apache2 $1 || true + else + echo "Your apache2 configuration is broken, so we're not restarting it for you." + fi +} + + +case "$1" in + configure) + fixperms + a2enmod rewrite >/dev/null 2>&1 || true + if [ -e "/etc/apache2/sites-available/chwala" -a ! -e "/etc/apache2/sites-enabled/chwala" ]; then + a2ensite chwala + fi + reload_apache reload + ;; esac -#DEBHELPER# +exit 0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.