Skip to content

Commit

Permalink
fix(just): remove brew shortcuts (#324)
Browse files Browse the repository at this point in the history
* fix(just): remove brew shortcuts

This stuff is on the image now.

* fix: remove old brew file from spec file

* chore: Fix missing source, update to version 0.36

---------

Co-authored-by: Kyle Gospodnetich <[email protected]>
  • Loading branch information
castrojo and KyleGospo authored Sep 20, 2024
1 parent 588beb0 commit 69e5d82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 33 deletions.
30 changes: 0 additions & 30 deletions build/ublue-os-just/05-brew.just

This file was deleted.

8 changes: 5 additions & 3 deletions build/ublue-os-just/ublue-os-just.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Name: ublue-os-just
Packager: ublue-os
Vendor: ublue-os
Version: 0.35
Version: 0.36
Release: 1%{?dist}
Summary: ublue-os just integration
License: MIT
Expand Down Expand Up @@ -37,7 +37,6 @@ Source21: toolbox.ini
Source22: 31-toolbox.just
Source23: brew.sh
Source24: 15-ublue-config.md
Source25: 05-brew.just

%global sub_name %{lua:t=string.gsub(rpm.expand("%{NAME}"), "^ublue%-os%-", ""); print(t)}

Expand All @@ -53,7 +52,7 @@ mkdir -p -m0755 %{buildroot}%{_datadir}/%{VENDOR}/%{sub_name}
install -Dm755 %{SOURCE0} %{buildroot}%{_sysconfdir}/profile.d/ublue-os-just.sh
install -Dm755 %{SOURCE19} %{buildroot}%{_sysconfdir}/profile.d/user-motd.sh
install -Dm755 %{SOURCE23} %{buildroot}%{_sysconfdir}/profile.d/brew.sh
cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE22} %{SOURCE25} %{buildroot}%{_datadir}/%{VENDOR}/%{sub_name}
cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE22} %{buildroot}%{_datadir}/%{VENDOR}/%{sub_name}

mkdir -p -m0755 %{buildroot}%{_datadir}/%{VENDOR}/motd/tips
cp %{SOURCE24} %{buildroot}%{_datadir}/%{VENDOR}/motd/tips
Expand Down Expand Up @@ -109,6 +108,9 @@ just --completions bash | sed -E 's/([\(_" ])just/\1ujust/g' > %{_datadir}/bash-
chmod 644 %{_datadir}/bash-completion/completions/ujust

%changelog
* Fri Sep 20 2024 Kyle Gospodnetich <[email protected]> - 0.36
- Remove no longer needed brew commands, now on image

* Fri May 31 2024 HikariKnight <[email protected]> - 0.35
- Make toggle-updates smarter and detect if ublue-update is installed

Expand Down

0 comments on commit 69e5d82

Please sign in to comment.