diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-04-06 01:41:10 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-04-06 01:41:10 -0300 |
commit | bdb7e14140ad2f857f63b4e5dd1475a9e01f77af (patch) | |
tree | fa2ef599334111460ec4a8fcd9f536cfb4a092aa /libre/bumblebee-libre/bumblebee.install | |
parent | fac6db7dd318d731552ccc91bada95f767eb07d9 (diff) | |
download | abslibre-bdb7e14140ad2f857f63b4e5dd1475a9e01f77af.tar.gz abslibre-bdb7e14140ad2f857f63b4e5dd1475a9e01f77af.tar.bz2 abslibre-bdb7e14140ad2f857f63b4e5dd1475a9e01f77af.zip |
bumblebee-libre: add new package to [libre] repo
Diffstat (limited to 'libre/bumblebee-libre/bumblebee.install')
-rw-r--r-- | libre/bumblebee-libre/bumblebee.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libre/bumblebee-libre/bumblebee.install b/libre/bumblebee-libre/bumblebee.install new file mode 100644 index 000000000..57aed6cc5 --- /dev/null +++ b/libre/bumblebee-libre/bumblebee.install @@ -0,0 +1,16 @@ +_notice() { + echo "Don't forget to add yourself to the 'bumblebee' group to use Bumblebee" +} + +post_upgrade() { + getent group "bumblebee" &>/dev/null || groupadd -r bumblebee +} + +post_remove() { + getent group "bumblebee" &>/dev/null && groupdel bumblebee 1>/dev/null +} + +post_install() { + post_upgrade + _notice +} |