Bug #422
Reinstallation of monkey trashes auth file
Status: | Closed | Start date: | 18 Dec 2014 | |
---|---|---|---|---|
Priority: | Urgent | Due date: | ||
Assignee: | % Done: | 100% | ||
Category: | - | |||
Target version: | PiBox - 0.10.0 | |||
Severity: | 03 - Medium |
Description
The pibox.mk file gets overwritten on a reinstall of the monkey package. To fix this:
- Move pibox.mk pibox.mk.pkg in the source tree
- install pibox.mk.pkg
- Add the following line to postinst for the package, but only if /etc/monkey/plugins/auth/pibox.mk doesn't already exist
mv /etc/monkey/plugins/auth/pibox.mk.pkg /etc/monkey/plugins/auth/pibox.mk
Associated revisions
RM #422: Install users.mk as pibox.mk.pkg and then move it to pibox.mk only if that file doesn't already exist.
History
#1
Updated by Hammel over 3 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Install users.mk as pibox.mk.pkg and then move it to pibox.mk only if that file doesn't already exist.
Tested on target, committed and pushed upstream.
Closing issue.