Skip to content

Commit

Permalink
chore: Ship two configs, one which can be run by every user and anoth…
Browse files Browse the repository at this point in the history
…er which can be executed by the root user
  • Loading branch information
KyleGospo committed Jan 23, 2024
1 parent 8ebf6ab commit 0ad3ced
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
10 changes: 10 additions & 0 deletions files/usr/etc/ublue-update/topgrade-system.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[misc]
only = ["system", "flatpak"]
ignore_failures = ["flatpak"]
skip_notify = true
assume_yes = true
no_retry = true
no_self_update = true

[linux]
rpm_ostree = true
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
[misc]
only = ["system", "flatpak", "distrobox"]
only = ["flatpak", "distrobox"]
ignore_failures = ["flatpak", "distrobox"]
skip_notify = true
assume_yes = true
no_retry = true
no_self_update = true

[linux]
rpm_ostree = true
[distrobox]
use_root = false

[flatpak]
use_sudo = false
3 changes: 1 addition & 2 deletions ublue-update.spec
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ fi
%attr(0644,root,root) %{_exec_prefix}/lib/systemd/system/%{NAME}.service
%attr(0644,root,root) %{_exec_prefix}/lib/systemd/system/%{NAME}.timer
%attr(0644,root,root) %{_exec_prefix}/lib/systemd/system-preset/00-%{NAME}.preset
%attr(0644,root,root) %{_exec_prefix}/etc/%{NAME}/%{NAME}.toml
%attr(0644,root,root) %{_exec_prefix}/etc/%{NAME}/topgrade.toml
%attr(0644,root,root) %{_exec_prefix}/etc/%{NAME}/*.toml
%attr(0644,root,root) %{_exec_prefix}/etc/polkit-1/rules.d/%{NAME}.rules

%changelog
Expand Down

0 comments on commit 0ad3ced

Please sign in to comment.