install

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

commit 5631ec7a2e5d45bc684c8593c7a2fff41d9bf969
parent 36ed676b0a4c35dee2840f65b45c56346d5384b9
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Wed,  4 Jan 2017 17:36:21 +0100

Fix(Kmod): Fix links

Diffstat:
Mpkgs/kmod_p2/kmod_p2.py | 9++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/pkgs/kmod_p2/kmod_p2.py b/pkgs/kmod_p2/kmod_p2.py @@ -63,7 +63,10 @@ class Kmod_P2: def install(self): self.e(["make", "install"]) - self.e(["for target in depmod insmod lsmod modinfo modprobe rmmod; do \ - ln -sfv ../bin/kmod /sbin/$target\ - done"], shell=True) + self.e(["ln", "-sfv", "../bin/kmod", "/sbin/depmod"]) + self.e(["ln", "-sfv", "../bin/kmod", "/sbin/insmod"]) + self.e(["ln", "-sfv", "../bin/kmod", "/sbin/lsmod"]) + self.e(["ln", "-sfv", "../bin/kmod", "/sbin/modinfo"]) + self.e(["ln", "-sfv", "../bin/kmod", "/sbin/modprobe"]) + self.e(["ln", "-sfv", "../bin/kmod", "/sbin/rmmod"]) return self.e(["ln", "-sfv", "kmod", "/bin/lsmod"])