@ -29,11 +29,15 @@ function extension_installed() {
if [ ! -f "$EXTENSIONS_FILE" ]; then
return 1
fi
if grep -q "\"$1\"" "$EXTENSIONS_FILE"; then
echo "Extension $1 was found in $EXTENSIONS_FILE."
return 0
if ! command -v grep > /dev/null; then
if ! grep -q "\"$1\"" "$EXTENSIONS_FILE"; then
}
# Check if the settings file exists...