diff options
author | kammag | 2015-06-08 19:53:56 +0200 |
---|---|---|
committer | kammag | 2015-06-08 19:53:56 +0200 |
commit | dcccbbddfe6253c6a14e6b0f8c4b546ce90381df (patch) | |
tree | a8a14675aff0eb164af0c72d9123fb66e70d38e7 /catalyst.install | |
download | aur-dcccbbddfe6253c6a14e6b0f8c4b546ce90381df.tar.gz |
Initial import
Diffstat (limited to 'catalyst.install')
-rw-r--r-- | catalyst.install | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/catalyst.install b/catalyst.install new file mode 100644 index 000000000000..f1401f0b17bf --- /dev/null +++ b/catalyst.install @@ -0,0 +1,32 @@ +KERNEL_VERSION=4.1.0-1-mainline +EXTRAMODULES=extramodules-4.1-mainline + + +dep_extr_mod(){ +if [ $EXTRAMODULES != null ]; then + depmod $(cat usr/lib/modules/$EXTRAMODULES/version) +else + depmod $KERNEL_VERSION +fi +} + +whisperer(){ + echo "----------------------------------------------------------------" + echo "For more info and troubleshooting visit:" + echo "http://wiki.archlinux.org/index.php/AMD_Catalyst" + echo "----------------------------------------------------------------" +} + + +post_install() { + dep_extr_mod + whisperer +} + +post_upgrade() { + dep_extr_mod +} + +post_remove() { + dep_extr_mod +}
\ No newline at end of file |