[ubuntu-mythtv] [Bug 129038] Re: lirc overwrote my lircd.conf

Mario Limonciello superm1 at ubuntu.com
Sun Jul 29 19:57:56 BST 2007


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 MythTV
Ubuntu Maintainers, which is a bug contact for lirc in ubuntu.



More information about the Ubuntu-mythtv mailing list