fix(default-flatpaks): get notify config from right var?

This commit is contained in:
xyny 2023-12-22 05:04:57 +00:00 committed by GitHub
parent bd92e7e5c5
commit f67cfce6d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -120,6 +120,6 @@ if [[ ! $(echo "$1" | yq -I=0 ".user") == "null" ]]; then
fi
echo "Configuring default-flatpaks notifications"
NOTIFICATIONS=$(yq ".notify" "$CONFIG_FILE")
NOTIFICATIONS=$(yq ".notify" "$1")
NOTIFICATIONS_CONFIG_FILE="/usr/etc/flatpak/notifications"
echo "$NOTIFICATIONS" > "$NOTIFICATIONS_CONFIG_FILE"