~ubuntu-branches/ubuntu/natty/quassel/natty-proposed

« back to all changes in this revision

Viewing changes to debian/quassel-core.preinst

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2011-05-05 12:43:51 UTC
  • Revision ID: james.westby@ubuntu.com-20110505124351-wngj82v83e5gi77l
Tags: 0.7.2-0ubuntu2.1
Correct /var/lib/quassel directory ownership for upgrades (LP: #777966)

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
    if dpkg --compare-versions "$2" le "0.7.2-0ubuntu2"; then
18
18
        prep_mv_dir  "/var/cache/quassel"
19
19
    fi
 
20
    if dpkg --compare-versions "$2" le "0.7.2-0ubuntu3"; then
 
21
      if [ -d "/var/lib/quassel/" ]; then
 
22
        chown quasselcore:quassel /var/lib/quassel/
 
23
      fi
 
24
    fi
20
25
 
21
26
# dh_installdeb will replace this with shell code automatically
22
27
# generated by other debhelper scripts.