Commit df8b9d63 authored by Gibbs, Ian's avatar Gibbs, Ian
Browse files

Merge branch 'i0x-main-patch-0a02' into 'main'

bugfix, connascence of execution for font cache rebuild

See merge request !60
parents dca8793c cfd0cd9f
Loading
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
Name:           nsd-app-wrap
Version:        1.65
Version:        1.66
Release:        1%{?dist}
Summary:        Wrapper scripts to launch python applications installed via anaconda
Vendor:         Peter F. Peterson
@@ -89,6 +89,9 @@ install -m 644 desktop/garnet.desktop %{buildroot}%{_datadir}/a

%changelog

* Fri Jun 7 2024 Ian Gibbs
- bugfix, connascence of execution for font cache rebuild

* Fri May 24 2024 Ian Gibbs
- bugfix, quicknxs rebuild font cache

+3 −5
Original line number Diff line number Diff line
@@ -13,16 +13,14 @@ if [ -v CONDA_ENVIRON ]; then
    source "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh"

    # override the normal call to activate_and_launch() function
    activate_conda_environment "${CONDA_ENVIRON}"

    # remove and rebuild the font cache
    _remove_font_cache

    # rebuild the font cache
    fc-cache -r

    # start the application
    activate_conda_environment "${CONDA_ENVIRON}"

    echo "Execute: ${COMMAND} $*"
    "${COMMAND}" "$@"

fi