Reinstallation of monkey trashes auth file
18 Dec 2014
03 - Medium
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
Updated by Hammel over 8 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.