diff options
author | dustball | 2015-07-27 20:26:29 +0200 |
---|---|---|
committer | dustball | 2015-07-27 20:26:29 +0200 |
commit | 870bad92db6b0687b58fac9eda8c3e8ee05fe767 (patch) | |
tree | da224fd217154009d19e813cf781d1937a094bf9 /steamos-xpad-dkms.install | |
download | aur-870bad92db6b0687b58fac9eda8c3e8ee05fe767.tar.gz |
Initial import
Diffstat (limited to 'steamos-xpad-dkms.install')
-rw-r--r-- | steamos-xpad-dkms.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/steamos-xpad-dkms.install b/steamos-xpad-dkms.install new file mode 100644 index 000000000000..96f77ca08c1c --- /dev/null +++ b/steamos-xpad-dkms.install @@ -0,0 +1,15 @@ +post_install() { + dkms install steamos-xpad/${1%%-*} +} + +pre_upgrade() { + pre_remove ${2%%-*} +} + +post_upgrade() { + post_install ${1%%-*} +} + +pre_remove() { + dkms remove steamos-xpad/${1%%-*} --all +} |