Skip to content

Commit

Permalink
fix: nushell (#871)
Browse files Browse the repository at this point in the history
remove non-existent dependency and correct post-install script
  • Loading branch information
infinitebash authored Jan 1, 2024
1 parent c7526e3 commit cf9f49d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion anda/langs/rust/nushell/nushell.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ License: MIT
URL: https://www.nushell.sh/
Source0: https://github.com/nushell/nushell/archive/refs/tags/%version.tar.gz
BuildRequires: anda-srpm-macros rust-packaging openssl-devel
Requires: glibc gcc-libs openssl zlib
Requires: glibc openssl zlib

%description
%summary.
Expand All @@ -30,6 +30,7 @@ if [ "$1" = 1 ]; then
else
grep -q "^%{_bindir}/nu$" %{_sysconfdir}/shells || echo "%{_bindir}/nu" >> %{_sysconfdir}/shells
grep -q "^/bin/nu$" %{_sysconfdir}/shells || echo "/bin/nu" >> %{_sysconfdir}/shells
fi
fi

%postun
Expand Down

0 comments on commit cf9f49d

Please sign in to comment.