Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(just): remove brew shortcuts #324

Merged
merged 4 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
KyleGospo marked this conversation as resolved.
Show resolved Hide resolved
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