~andreserl/maas/packaging_drop_apache2

« back to all changes in this revision

Viewing changes to debian/maas-region-controller-min.preinst

  • Committer: Andres Rodriguez
  • Date: 2015-01-15 20:35:09 UTC
  • mto: This revision was merged to the branch mainline in revision 342.
  • Revision ID: andreserl@ubuntu.com-20150115203509-7dygje9n8w3d5y8z
debian/maas-region-controller-min.preinst: Handle upgrades to remove
legacy files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
fi
26
26
 
 
27
 
 
28
if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt 1.8.0~alpha1+bzr3463-0ubuntu1; then
 
29
 
 
30
    if [ -f /var/log/maas/maas-django.log ]; then
 
31
        rm -rf /var/log/maas/maas-django.log
 
32
    fi
 
33
 
 
34
fi
27
35
#DEBHELPER#