diff --git a/03-cura/01-configuration/install.sh b/03-cura/01-configuration/install.sh index d5a430e..0905df8 100755 --- a/03-cura/01-configuration/install.sh +++ b/03-cura/01-configuration/install.sh @@ -6,7 +6,7 @@ CURA_FOLDER="/opt/ultimaker-cura" function get_cura_directories() { local VERSION - VERSION=$(find "${CURA_CONFIG_BASE}" -maxdepth 1 -mindepth 1 -type d -printf "%f\n" -prune | sort -gr | head -n1) + VERSION=$(find "${CURA_CONFIG_BASE}" -maxdepth 1 -mindepth 1 -type d -printf "%f\n" -prune | sort -Vr | head -n1) CURA_CONFIG="${HOME}/.config/cura/${VERSION}" CURA_SHARE="${HOME}/.local/share/cura/${VERSION}" CURA_INTERNAL_SHARE="${CURA_FOLDER}/share/cura/resources"