mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:47:13 +08:00
03f3d5deb5
bbswitch: add new pkg
17 lines
322 B
Plaintext
17 lines
322 B
Plaintext
_notice() {
|
|
echo "Don't forget to add yourself to the 'bumblebee' group to use Bumblebee"
|
|
}
|
|
|
|
post_upgrade() {
|
|
getent group "bumblebee" &>/dev/null || groupadd bumblebee
|
|
}
|
|
|
|
post_remove() {
|
|
getent group "bumblebee" &>/dev/null && groupdel bumblebee 1>/dev/null
|
|
}
|
|
|
|
post_install() {
|
|
post_upgrade
|
|
_notice
|
|
}
|