summaryrefslogtreecommitdiffstats
path: root/base/kernel/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'base/kernel/post-install')
-rw-r--r--base/kernel/post-install7
1 files changed, 6 insertions, 1 deletions
diff --git a/base/kernel/post-install b/base/kernel/post-install
index ce28e79c5..a5c238213 100644
--- a/base/kernel/post-install
+++ b/base/kernel/post-install
@@ -1,4 +1,9 @@
-version=3.1.3
+version=3.1.4
+if [ ! -d /lib/modules/${version} ]; then
+ echo "post-install impossible"
+ echo "/lib/modules/${version} pas trouvé"
+ exit 1
+fi
SCRIPT_VERSION="pakxe.3"
SRC=/tmp/work
WDIR=$SRC/nutyx-initrd