diff --git a/system_files/shared/usr/libexec/ublue-user-setup b/system_files/shared/usr/libexec/ublue-user-setup index fcd0f55404a..43596a7d4a1 100755 --- a/system_files/shared/usr/libexec/ublue-user-setup +++ b/system_files/shared/usr/libexec/ublue-user-setup @@ -1,7 +1,7 @@ #!/usr/bin/bash # SCRIPT VERSION -USER_SETUP_VER=6 +USER_SETUP_VER=7 USER_SETUP_VER_FILE="${XDG_DATA_HOME:-$HOME/.local/share}/ublue/user-setup" USER_SETUP_VER_RAN=$(cat "$USER_SETUP_VER_FILE") VEN_ID="$(cat /sys/devices/virtual/dmi/id/chassis_vendor)" @@ -57,6 +57,9 @@ if [[ ":Framework:" =~ ":$VEN_ID:" ]]; then fi fi +# Clear flatpak font cache +flatpak list --app --columns=application,runtime|grep org.gnome.Platform|awk -F '\t' '{print "flatpak run --command=fc-cache " $1 " -f -v"}'|xargs -I % echo "%"|sh + # Handle privileged tasks pkexec /usr/libexec/ublue-privileged-user-setup