mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
fix: nushell (#871)
remove non-existent dependency and correct post-install script
This commit is contained in:
@@ -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.
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user