Skip to content

Commit

Permalink
fix: chroot installation with no dev mount
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanValov committed Nov 21, 2019
1 parent 9b6a543 commit b39c43c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extra/redhat/ram-framework.spec
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ install -Dp -m644 ./extra/bash-completion/ram.sh %{buildroot}/%{_sysconfdir}/bas

%post
if [ "$1" -eq "1" ]; then
ram paths insert %{_exec_prefix}/lib/ram >/dev/null
ram paths insert %{_exec_prefix}/lib/ram
fi

%preun
if [ "$1" -eq "0" ]; then
ram paths remove %{_exec_prefix}/lib/ram >/dev/null
ram paths remove %{_exec_prefix}/lib/ram
fi

%files
Expand All @@ -59,5 +59,5 @@ fi
%{_datadir}/ram/

%changelog
* Fri Nov 15 2019 Roman Valov <roman.valov@gmail.com> - 0.4.10-1
* Fri Nov 22 2019 Roman Valov <roman.valov@gmail.com> - 0.4.10-1
- Initial package

0 comments on commit b39c43c

Please sign in to comment.