~jon-raiford/mythbuntu/lirc

« back to all changes in this revision

Viewing changes to debian/lirc.postinst

  • Committer: Mario Limonciello
  • Date: 2009-10-10 04:17:27 UTC
  • Revision ID: superm1@ubuntu.com-20091010041727-vxoqsc8rkheiwaz7
* lirc.postinst:
  - On upgrades from earlier versions, require the user to reconfigure
    their remote and transmitter.

Show diffs side-by-side

added added

removed removed

Lines of Context:
532
532
 
533
533
if [ "$1" = "configure" ]; then
534
534
 
 
535
        #0.8.6 got rid of mceusb2 so users need to repick remotes
 
536
        if dpkg --compare-versions "$2" le-nl "0.8.6-0ubuntu1"; then
 
537
                db_fset lirc/remote seen false
 
538
                db_fset lirc/transmitter seen false
 
539
        fi
 
540
 
535
541
        if [ -e "/etc/modprobe.d/lirc-serial" ]; then
536
542
                        echo "Preserving user changes to /etc/modprobe.d/lirc-serial.conf ..."
537
543
                        if [ -e "/etc/modprobe.d/lirc-serial.conf" ]; then