Bug #422

Reinstallation of monkey trashes auth file

Added by Hammel almost 3 years ago. Updated almost 3 years ago.

Status:ClosedStart date:18 Dec 2014
Priority:UrgentDue date:
Assignee:Hammel% 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:
  1. Move pibox.mk pibox.mk.pkg in the source tree
  2. install pibox.mk.pkg
  3. 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

Revision fdfa8564
Added by Hammel almost 3 years ago

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 almost 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.

Also available in: Atom PDF