Commit 7e00ba9f authored by Peterson, Peter's avatar Peterson, Peter
Browse files

Use conda install for refred

parent 9ccc757e
Loading
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
%global srcname nsd-app-wrap

Name:           nsd-app-wrap
Version:        1.18
Version:        1.19
Release:        1%{?dist}
Summary:        Wrapper scripts to launch python applications installed via anaconda
Vendor:         Peter F. Peterson
@@ -49,6 +49,9 @@ mv pyrs.desktop %{buildroot}%{_datadir}/applications/
%license LICENSE

%changelog
* Fri Jan 7 2022 Pete Peterson
- add hook for refred stable in conda

* Tue Nov 23 2021 Ross Whitfield
- made refred executable

+3 −1
Original line number Diff line number Diff line
#!/bin/bash

# select the environment to use
# fall back to RPM version for production
CONDA_ENVIRON=refred
if [ -n "$1" ]; then
  if [ "$1" == "--dev" ]; then
    CONDA_ENVIRON=refred-dev
    shift  # drop this argument
  elif [ "$1" == "--qa" ]; then
    CONDA_ENVIRON=refred-qa
    shift  # drop this argument
  fi
fi