summarylogtreecommitdiffstats
path: root/piuio.install
diff options
context:
space:
mode:
authorDevin J. Pohly2015-07-02 13:32:11 -0400
committerDevin J. Pohly2015-07-02 13:32:11 -0400
commitbc2399eb6e6d32133ada7b3800e673ef09df7258 (patch)
treeb90f78f6f72fe09b8464d50c748e2925c9d62c42 /piuio.install
downloadaur-piuio-git.tar.gz
Import from AUR3
Diffstat (limited to 'piuio.install')
-rw-r--r--piuio.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/piuio.install b/piuio.install
new file mode 100644
index 000000000000..bd81dd676ffd
--- /dev/null
+++ b/piuio.install
@@ -0,0 +1,14 @@
+KERNEL_VERSION=
+
+post_install() {
+ echo ">>> Updating module dependencies. Please wait..."
+ depmod "$(< "/usr/lib/modules/extramodules-$KERNEL_VERSION/version")"
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}