summarylogtreecommitdiffstats
path: root/darling-git.install
diff options
context:
space:
mode:
Diffstat (limited to 'darling-git.install')
-rw-r--r--darling-git.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/darling-git.install b/darling-git.install
new file mode 100644
index 000000000000..740110ad2ae3
--- /dev/null
+++ b/darling-git.install
@@ -0,0 +1,17 @@
+_depmod() {
+ depmod $(uname -r)
+}
+
+post_install() {
+ _depmod
+ echo -e "Before using darling, you must to load \033[1mdarling-mach\033[0m kernel module."
+}
+
+post_upgrade() {
+ _depmod
+ echo -e "You must to reload \033[1mdarling-mach\033[0m kernel module to use new version."
+}
+
+post_remove() {
+ _depmod
+}