lirc overwrote my lircd.conf
Bug #129038 reported by
Martin Emrich
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lirc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: lirc
After upgrading to 0.8.2-0ubuntu3, my remote stopped working. Looking into /etc/lirc/
Ciao
Martin
Related branches
Changed in lirc: | |
assignee: | nobody → kamion |
To post a comment you must log in.
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.
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
Here is the snippet of what the postinst script does:
# we don't restore the file unless the user is (re)configuring
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