install

installer
Log | Files | Refs | README | LICENSE | git clone https://git.ne02ptzero.me/git/install

commit 8ed0fc4cd2645ddfcbeb10245dcbde4f057e3ce5
parent 08136b82cba3e6879d5122ed1701a3b7e456f429
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Wed,  4 Jan 2017 13:32:29 +0100

Fix(Psmisc): No copy of binary if MERGED_USR

Diffstat:
Mpkgs/psmisc_p2/psmisc_p2.py | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/pkgs/psmisc_p2/psmisc_p2.py b/pkgs/psmisc_p2/psmisc_p2.py @@ -59,5 +59,8 @@ class Psmisc_P2: return self.e(["make", "install"]) def after(self): - self.e(["mv", "-v", "/usr/bin/fuser", "/bin"]) - return self.e(["mv", "-v", "/usr/bin/killall", "/bin"]) + if "MERGE_USR" in self.conf_lst["config"] and self.conf_lst["config"]["MERGE_USR"] != True: + self.e(["mv", "-v", "/usr/bin/fuser", "/bin"]) + return self.e(["mv", "-v", "/usr/bin/killall", "/bin"]) + else: + return "", 0