Fix ENABLE_UBUNTU_ACCOUNTSSERVICE comparison in bash
CMake's BOOL
values are more complex than just ON
& OFF
. Match the value in CMake, and reduce it to two simpler options for bash test.
Addresses !16 (comment 1995738363) . Tested by setting ENABLE_UBUNTU_ACCOUNTSSERVICE
to an empty string, 0
, false
, off
, Y
, and leaving it as its default value - the value in the bash code is always reduced to either 0
or 1
now.