fix: nushell (#871)

remove non-existent dependency and correct post-install script
This commit is contained in:
infinitebash
2023-12-31 16:35:10 -08:00
committed by GitHub
parent c7526e3ed6
commit cf9f49d42e
+2 -1
View File
@@ -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