summaryrefslogtreecommitdiff
path: root/libvasile
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2016-11-30 16:13:08 +0000
committerV3n3RiX <venerix@redcorelinux.org>2016-11-30 16:13:08 +0000
commit1e1a856634f53145e923e49bd666ad8ecc472e67 (patch)
tree32fdcff6a993df5542ed6b5f3aa53b4113781add /libvasile
parenta2df534c109fadf0dd5a78929534b75d97f0b7af (diff)
only run dkms if root
Diffstat (limited to 'libvasile')
-rwxr-xr-xlibvasile1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvasile b/libvasile
index f4f4035..0b94ba6 100755
--- a/libvasile
+++ b/libvasile
@@ -117,6 +117,7 @@ chrootchecksum () {
}
dkmsmod () {
+ checkroot
# build and install any 3rd party kernel modules using DKMS
if [[ -x $(which dkms) ]] ; then
for i in $(dkms status | cut -d " " -f1,2 | sed -e 's/,//g' | sed -e 's/ /\//g' | sed -e 's/://g') ; do