summarylogtreecommitdiffstats
path: root/8188fu-dkms.install
diff options
context:
space:
mode:
authorGoliathLabs2020-06-07 18:42:42 +0200
committerGoliathLabs2020-06-07 18:42:42 +0200
commit28c927de77d4453c0984e65e81bc5495ac5af3f9 (patch)
tree6e5f80852932167370717a97db6cc59df9349d5c /8188fu-dkms.install
downloadaur-28c927de77d4453c0984e65e81bc5495ac5af3f9.tar.gz
Initial commit
Diffstat (limited to '8188fu-dkms.install')
-rw-r--r--8188fu-dkms.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/8188fu-dkms.install b/8188fu-dkms.install
new file mode 100644
index 000000000000..e41f59ca53ba
--- /dev/null
+++ b/8188fu-dkms.install
@@ -0,0 +1,15 @@
+post_install() {
+ dkms install 8188fu/${1%%-*}
+}
+
+pre_upgrade() {
+ pre_remove ${2%%-*}
+}
+
+post_upgrade() {
+ post_install ${1%%-*}
+}
+
+pre_remove() {
+ dkms remove 8188fu/${1%%-*} --all
+}