diff --git a/rpm/nsd-app-wrap.spec b/rpm/nsd-app-wrap.spec index c47ba48a94de0887e26efd39f04e2bc7083d1b09..4cd3b5f0db8fc98e300a7663ca3b14edfb3b258e 100644 --- a/rpm/nsd-app-wrap.spec +++ b/rpm/nsd-app-wrap.spec @@ -1,5 +1,5 @@ Name: nsd-app-wrap -Version: 1.93 +Version: 1.94 Release: 1%{?dist} Summary: Wrapper scripts to launch python applications installed via anaconda Vendor: Peter F. Peterson @@ -106,6 +106,9 @@ install -m 644 desktop/ibeatles.desktop %{buildroot}%{_datadir}/a %changelog +* Mon Jun 09 2025 Jose Borreguero +- Update the nr_launcher scripts + * Thu May 29 2025 John Hetrick - Removed crystalplan diff --git a/src/nr_launcher b/src/nr_launcher index 83c812a6fb658e1b300c7c9c20531b23a4388648..a21a2e43e5b1aed38d0014b40257efbebda0b057 100644 --- a/src/nr_launcher +++ b/src/nr_launcher @@ -3,6 +3,11 @@ # select the environment to use CONDA_ENVIRON=refl1d +# check if the conda environment exists +if ! conda env list | \grep -q "^${CONDA_ENVIRON}[[:space:]]"; then + CONDA_ENVIRON=refl1d-qa +fi + if [ -v CONDA_ENVIRON ]; then # import library to do the real work # shellcheck disable=SC1091