~ubuntu-branches/ubuntu/gutsy/lighttpd/gutsy-updates

« back to all changes in this revision

Viewing changes to debian/lighttpd.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2007-09-05 09:30:15 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070905093015-pm98jekbu9ylcd3w
Tags: 1.4.17-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Update maintainer field in debian/control.
  - Build against libgamin-dev rather than libfam-dev (fixes a warning
    during startup)
  - Make sure that upgrades succeed, even if we can't restart lighttpd.
  - Clean environment in init.d script.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
        chown www-data:www-data -R /var/cache/lighttpd
15
15
fi
16
16
 
17
 
if [ -x "/etc/init.d/lighttpd" ]; then
18
 
        update-rc.d lighttpd defaults >/dev/null
19
 
        if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
20
 
                invoke-rc.d lighttpd start || true
21
 
        else
22
 
                /etc/init.d/lighttpd start || true
23
 
        fi
24
 
fi
25
 
 
26
 
 exit 0
 
17
#DEBHELPER#
27
18
 
28
19
exit 0