fix: check for gnome-shell instead of gsettings in one test (#424)

This commit is contained in:
Bruno
2024-09-11 13:56:52 -03:00
committed by GitHub
parent 99ccbb20ff
commit 66d8b731e6

View File

@@ -489,7 +489,7 @@ audit-secureblue:
fi
EXTENSIONS_TEST_STRING="Ensuring GNOME user extensions are disabled"
if command -v gsettings &> /dev/null; then
if command -v gnome-shell &> /dev/null; then
if [ "$(gsettings get org.gnome.shell allow-extension-installation)" = "false" ]; then
print_status "$EXTENSIONS_TEST_STRING" "$STATUS_SUCCESS"
else