~free.ekanayaka/landscape-client/use-smart-to-get-dpkg-arch

« back to all changes in this revision

Viewing changes to debian/landscape-client.postinst

  • Committer: free.ekanayaka at canonical
  • Date: 2009-06-23 09:32:52 UTC
  • mfrom: (108.2.23 cross-release-packaging)
  • Revision ID: free.ekanayaka@canonical.com-20090623093252-4zihxf9oqk0w09vn
Merge cross-release-packaging [r=jkakar,radix] [f=385098]

- Modify the debian/ packaging files to have a single source package
  buildable and installable on all target releases.

- Finalise debian/changelog for the 1.3.2 release

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
            dpkg-statoverride --update --add root landscape 4754 $smart_update
84
84
        fi
85
85
 
86
 
        # Remove old cron job
87
 
        cron_job=/etc/cron.hourly/landscape-client
88
 
        if [ -e $cron_job ]; then
89
 
            rm $cron_job
 
86
        # Remove old cron jobs
 
87
        old_cron_job=/etc/cron.hourly/landscape-client
 
88
        if [ -e $old_cron_job ]; then
 
89
            rm $old_cron_job
 
90
        fi
 
91
        very_old_cron_job=/etc/cron.hourly/smartpm-core
 
92
        if [ -e $very_old_cron_job ]; then
 
93
            rm $very_old_cron_job
90
94
        fi
91
95
 
92
96
    ;;