system-maintenance: Flatpaks moved to --user installs
[bin.git] / system-maintenance
index 1156deb3d894fdfc968ed35cdf4048b4a5607781..8db4659d343a2d3a3b06fa12f232485d27febd43 100755 (executable)
@@ -11,6 +11,6 @@ rpm-ostree upgrade
 # fix fonts between Fedora releases
 rm -rf ~martin/.cache/fontconfig
 
-flatpak -y update
+su -c 'flatpak -y update' martin
 
 fstrim -av