this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix dkms.sh Before it would only build if it was never run before. Now, it rebuilds every time.

+13 -3
+13 -3
src/lkm/dkms.sh
··· 1 1 #!/usr/bin/env bash 2 + 2 3 export DARLING_SRC=`pwd` 3 - dkms add . 4 - dkms build -m darling-mach -v 1.0 5 - dkms install -m darling-mach -v 1.0 4 + VERSION=1.0 5 + 6 + # Test if darling-mach is already installed 7 + modinfo darling-mach &> /dev/null 6 8 9 + if (( $? == 0 )); then 10 + dkms remove darling-mach/$VERSION --all 11 + fi 12 + 13 + # Build it from scratch and install 14 + dkms add . 15 + dkms build darling-mach -v $VERSION 16 + dkms install darling-mach -v $VERSION