Skip to content

Commit

Permalink
feat: Add support for updating with Fleek (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
akdev1l authored Sep 1, 2023
2 parents 40674fe + b87ec26 commit 6bd7568
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion files/etc/ublue-update.d/05-distrobox-user-update.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/bash

/usr/bin/distrobox upgrade -a
if [ -x /usr/bin/distrobox ]; then
/usr/bin/distrobox upgrade -a
fi
5 changes: 5 additions & 0 deletions files/etc/ublue-update.d/06-fleek-user-update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/bash

if [ -x /var/usrlocal/bin/fleek ]; then
/var/usrlocal/bin/fleek update -a
fi
7 changes: 1 addition & 6 deletions ublue-update.spec.rpkg
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,7 @@ cp -rp files/etc files/usr %{buildroot}
%attr(0644,root,root) %{_exec_prefix}/lib/systemd/user/%{NAME}.timer
%attr(0644,root,root) %{_exec_prefix}/lib/systemd/user-preset/00-%{NAME}.preset
%attr(0644,root,root) %{_exec_prefix}/etc/%{NAME}/%{NAME}.toml
%attr(0755,root,root) %{_sysconfdir}/%{NAME}.d/00-system-update.sh
%attr(0755,root,root) %{_sysconfdir}/%{NAME}.d/01-flatpak-system-update.sh
%attr(0755,root,root) %{_sysconfdir}/%{NAME}.d/02-flatpak-user-update.sh
%attr(0755,root,root) %{_sysconfdir}/%{NAME}.d/03-flatpak-system-repair-cleanup.sh
%attr(0755,root,root) %{_sysconfdir}/%{NAME}.d/04-flatpak-user-repair-cleanup.sh
%attr(0755,root,root) %{_sysconfdir}/%{NAME}.d/05-distrobox-user-update.sh
%attr(0755,root,root) %{_sysconfdir}/%{NAME}.d/*.sh

%changelog
%autochangelog

0 comments on commit 6bd7568

Please sign in to comment.