install

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

commit 00d3ff763c23c1b52c31458d2b9ce47dfa69211b
parent 26b62a26dd82161a04fab5e3750577d31595c02d
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Wed,  4 Jan 2017 13:36:56 +0100

Fix(Bash): No copy of binary if MERGED_USR

Diffstat:
Mpkgs/bash_p2/bash_p2.py | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pkgs/bash_p2/bash_p2.py b/pkgs/bash_p2/bash_p2.py @@ -64,4 +64,7 @@ class Bash_P2: return self.e(["make", "install"]) def after(self): - return self.e(["mv", "-vf", "/usr/bin/bash", "/bin"]) + if "MERGE_USR" in self.conf_lst["config"] and self.conf_lst["config"]["MERGE_USR"] != True: + return self.e(["mv", "-vf", "/usr/bin/bash", "/bin"]) + else: + return "", 0