Skip to content
Snippets Groups Projects
Commit ca0a2e46 authored by nimrod's avatar nimrod
Browse files

Run `flatpak-daily` as root with the correct home directory.

Otherwise the files (as root) are written to my home directory and when
I correct the ownership I get this error: "Refusing to operate on a user
installation as root".
parent fa68c3de
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
exec sudo /bin/sh -c 'flatpak update --assumeyes && flatpak uninstall --unused --assumeyes'
exec sudo --set-home /bin/sh -c 'flatpak update --assumeyes && flatpak uninstall --unused --assumeyes'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment