fix missing check

This commit is contained in:
2025-09-17 21:53:36 +02:00
parent 0e137633e4
commit a2cef0fed9

View File

@@ -405,9 +405,11 @@ setup_fwupd() {
# function name : setup OpenRGB
# Description: Install OpenRGB for RGB devices control
setup_openrgb() {
install_package openrgb
sudo gpasswd -a "$USER" plugdev
sudo systemctl enable --now openrgb
if whiptail --title "Setup fwupd" --yesno "Would you like to setup OpenRGB?" 10 60; then
install_package openrgb
sudo gpasswd -a "$USER" plugdev
sudo systemctl enable --now openrgb
fi
}
# function name : setup browser