~ubuntu-branches/ubuntu/trusty/schroot/trusty

« back to all changes in this revision

Viewing changes to debian/schroot.preinst

  • Committer: Bazaar Package Importer
  • Author(s): Roger Leigh
  • Date: 2009-11-07 10:46:54 UTC
  • mfrom: (1.1.20 upstream) (2.1.6 experimental)
  • Revision ID: james.westby@ubuntu.com-20091107104654-kk1fp1icv8dzfyfi
* New upstream development release.
* schroot:
  - Return success when ending a session and the operation
    succeeded (Closes: #554907).

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
 
47
47
case "$1" in
48
48
install|upgrade)
49
 
    if dpkg --compare-versions "$2" le "0.1.4-1"; then
50
 
        prep_mv_conffile "schroot" "/etc/schroot.conf"
51
 
    fi
52
 
    if dpkg --compare-versions "$2" le "0.2.6-1"; then
53
 
         prep_mv_conffile "schroot" "/etc/schroot/run.d/50sbuild"
54
 
         prep_mv_conffile "schroot" "/etc/schroot/run.d/00check"
55
 
    fi
56
49
    if dpkg --compare-versions "$2" le "1.1.6-1"; then
57
50
         rm_conffile "schroot" "/etc/schroot/setup.d/20network"
58
51
         rm_conffile "schroot" "/etc/schroot/setup.d/30passwd"