summarylogtreecommitdiffstats
path: root/darling-git.install
diff options
context:
space:
mode:
authorXorg2016-02-16 18:44:57 +0100
committerXorg2016-02-16 18:44:57 +0100
commitbc72917a08b24ef60aa0b3e475d4f8ed63770c2e (patch)
treed25e1f8a3d2954071b03c69f0d3d61fd64514452 /darling-git.install
parentec148db73f63754bac8ae6c8e3bf2b8533abf36b (diff)
downloadaur-bc72917a08b24ef60aa0b3e475d4f8ed63770c2e.tar.gz
Fix darling-git since recent upstram changes (pkgrel 16)
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
+}