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

bugfix, connascence of execution for font cache rebuild

parent dca8793c
Loading
Loading
Loading
Loading
Loading
+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