diff options
author | qinfandong | 2016-06-14 12:59:00 +0800 |
---|---|---|
committer | qinfandong | 2016-06-14 12:59:00 +0800 |
commit | 66ed616597a40d29fa926c493e9647b723c8a4c3 (patch) | |
tree | 312c797f854d6de4d74d7d10b502a4f989caacba | |
parent | c8094bfb15916efefbb27cd04342076ad0ea5e47 (diff) | |
download | aur-66ed616597a40d29fa926c493e9647b723c8a4c3.tar.gz |
Add post scripts
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | xf86-video-nouveau-blacklist.install | 10 |
2 files changed, 11 insertions, 1 deletions
@@ -15,7 +15,7 @@ conflicts=() replaces=() backup=() options=() -install= +install="${pkgname%-git}.install" source=("${pkgname%-git}::git+${url}#branch=master") noextract=() sha256sums=('SKIP') diff --git a/xf86-video-nouveau-blacklist.install b/xf86-video-nouveau-blacklist.install new file mode 100644 index 000000000000..d7a4aeec1e3c --- /dev/null +++ b/xf86-video-nouveau-blacklist.install @@ -0,0 +1,10 @@ +## arg 1: the new package version +post_install () { + echo 'Nouveau will disabled after reboot.' +} + +## arg 1: the new package version +post_remove () { + echo 'Nouveau will load after reboot.' +} + |