install

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

commit 36ed676b0a4c35dee2840f65b45c56346d5384b9
parent 126d38270356fe9f1e1983d61467e40b3be76d47
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Wed,  4 Jan 2017 17:34:14 +0100

Fix(XZ): No copy of binary if MERGED_USR

Diffstat:
Mpkgs/xz_p2/xz_p2.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pkgs/xz_p2/xz_p2.py b/pkgs/xz_p2/xz_p2.py @@ -62,6 +62,7 @@ class Xz_P2: def install(self): self.e(["make", "install"]) - self.e(["mv -v /usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat} /bin"], shell=True) + if "MERGE_USR" in self.conf_lst["config"] and self.conf_lst["config"]["MERGE_USR"] != True: + self.e(["mv -v /usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat} /bin"], shell=True) self.e(["mv -v /usr/lib/liblzma.so.* /lib"], shell=True) return self.e(["ln -svf ../../lib/$(readlink /usr/lib/liblzma.so) /usr/lib/liblzma.so"], shell=True)