Fix cachyos config flag

Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
This commit is contained in:
Piotr Gorski 2022-09-16 12:17:12 +02:00
parent c4cd1244bf
commit 6586505bfe
No known key found for this signature in database
GPG key ID: 79AFA05ABDB26C5A

View file

@ -288,10 +288,10 @@ prepare() {
### Selecting CachyOS config
if [ "$_cachy_config" = "yes" ]; then
echo "Enabling CachyOS config..."
scripts/config --enable CACHY_CONFIG
scripts/config --enable CACHY
elif [ "$_cachy_config" = "no" ]; then
echo "Disabling CachyOS config..."
scripts/config --disable CACHY_CONFIG
scripts/config --disable CACHY
else
if [ -n "$_cachy_config" ]; then
error "The value $_cachy_config is invalid. Choose the correct one again."