Last active
July 14, 2020 08:43
-
-
Save speters/bca6fef401a8a0fef985adb75286e245 to your computer and use it in GitHub Desktop.
/usr/bin/freecad wrapper to always start latest version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
FCLATEST=$(ls -t1 $HOME/.local/bin/FreeCAD*AppImage | head -n1) | |
if [ -x ${FCLATEST} ] ; then | |
${FCLATEST} | |
else | |
exit 1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment