summarylogtreecommitdiffstats
path: root/douane-dkms.install
diff options
context:
space:
mode:
authorSteven Xu2016-12-25 18:50:39 -0600
committerSteven Xu2016-12-25 18:50:39 -0600
commita18ac7a5a2715df5f65335fe53e71d2e57976426 (patch)
tree6c45cd77b9a3f909075b68c259f380db4acd2842 /douane-dkms.install
parent4a7a72b2fdbb0d7e6006943a5fd7c2b89571195f (diff)
downloadaur-a18ac7a5a2715df5f65335fe53e71d2e57976426.tar.gz
Fix dir and md5sums, pkgrel to 2
Diffstat (limited to 'douane-dkms.install')
-rw-r--r--douane-dkms.install15
1 files changed, 0 insertions, 15 deletions
diff --git a/douane-dkms.install b/douane-dkms.install
deleted file mode 100644
index 7bd166f81e53..000000000000
--- a/douane-dkms.install
+++ /dev/null
@@ -1,15 +0,0 @@
-post_install() {
- dkms install -m douane -v ${1%%-*}
-}
-pre_upgrade() {
- local curver=${2%%-*}
- # $2 is unset due to a bug. Query current version using pacman as fallback
- [ -n "$curver" ] || curver=$(pacman -Qi douane-dkms | awk '/^Version/{print $3}')
- pre_remove $curver
-}
-post_upgrade() {
- post_install ${1%%-*}
-}
-pre_remove() {
- dkms remove -m douane -v ${1%%-*} --all
-} \ No newline at end of file