The behavior of the postinst script will simple rename your existing config to 
/etc/lirc/lircd.dpkg-old.  Your old configuration should be present there, 
unless you reconfigured lirc multiple times to choose different remotes.
Here is the snippet of what the postinst script does:
                # we don't restore the file unless the user is (re)configuring
                elif $CONFIG_CHANGED \
                        && [ -f "/usr/share/lirc/remotes/$RET" ];then
                        if [ -f "/etc/lirc/lircd.conf" ]; then
                                mv /etc/lirc/lircd.conf 
/etc/lirc/lircd.conf.dpkg-old
                        fi
                        cp /usr/share/lirc/remotes/$RET \
                                /etc/lirc/lircd.conf
                fi

Nonetheless, I do see that this will be confusing to some people who are
upgrading lirc and suddenly get a pretty option to choose a remote.  I'm
attaching a debdiff that will show a more informative message

** Attachment added: "better explanation debdiff"
   http://launchpadlibrarian.net/8598494/lirc-ubuntu3-ubuntu4.debdiff

** Changed in: lirc (Ubuntu)
       Status: New => Confirmed

-- 
lirc overwrote my lircd.conf
https://bugs.launchpad.net/bugs/129038
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to