Loading nsd-app-wrap.spec +1 −0 Original line number Diff line number Diff line Loading @@ -33,6 +33,7 @@ mv nsd-conda-wrap.sh %{buildroot}%{_bindir}/ mv pyrs %{buildroot}%{_bindir}/ mv sasview %{buildroot}%{_bindir}/ mv drtsans %{buildroot}%{_bindir}/ mv refred %{buildroot}%{_bindir}/ # put icons in the right place mkdir -p %{buildroot}/%{_datadir}/pixmaps/ mv pyrs.png %{buildroot}/%{_datadir}/pixmaps/ Loading refred 0 → 100755 +23 −0 Original line number Diff line number Diff line #!/bin/bash # select the environment to use # fall back to RPM version for production if [ -n "$1" ]; then if [ "$1" == "--dev" ]; then CONDA_ENVIRON=refred-dev elif [ "$1" == "--qa" ]; then CONDA_ENVIRON=refred-qa fi fi if [ -v CONDA_ENVIRON ]; then # import library to do the real work source "$(dirname $(realpath "$0"))/nsd-app-wrap.sh" # activate the environment - will be deactivated on exit activate_conda_environment "${CONDA_ENVIRON}" fi # start the application RefRed Loading
nsd-app-wrap.spec +1 −0 Original line number Diff line number Diff line Loading @@ -33,6 +33,7 @@ mv nsd-conda-wrap.sh %{buildroot}%{_bindir}/ mv pyrs %{buildroot}%{_bindir}/ mv sasview %{buildroot}%{_bindir}/ mv drtsans %{buildroot}%{_bindir}/ mv refred %{buildroot}%{_bindir}/ # put icons in the right place mkdir -p %{buildroot}/%{_datadir}/pixmaps/ mv pyrs.png %{buildroot}/%{_datadir}/pixmaps/ Loading
refred 0 → 100755 +23 −0 Original line number Diff line number Diff line #!/bin/bash # select the environment to use # fall back to RPM version for production if [ -n "$1" ]; then if [ "$1" == "--dev" ]; then CONDA_ENVIRON=refred-dev elif [ "$1" == "--qa" ]; then CONDA_ENVIRON=refred-qa fi fi if [ -v CONDA_ENVIRON ]; then # import library to do the real work source "$(dirname $(realpath "$0"))/nsd-app-wrap.sh" # activate the environment - will be deactivated on exit activate_conda_environment "${CONDA_ENVIRON}" fi # start the application RefRed