We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bb1dbe commit cbc7cffCopy full SHA for cbc7cff
contrib/OpenFunscripter/openfunscripter_setup_linux.sh
@@ -3,6 +3,8 @@
3
# Requirements: On Debian based systems e.g. Ubuntu you have to install Anaconda or Miniconda
4
# befor running this installer!
5
6
+arg1="$1"
7
+
8
if [ "$EUID" -eq 0 ]; then
9
echo "ERROR: You can not run this script with sudo!!"
10
exit 1
@@ -69,8 +71,12 @@ git reset --hard HEAD
69
71
git clean -fd
70
72
git pull --all
73
-echo "Checkout latest MTFG release"
-git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
74
+if [ "$arg1" != "--latest" ]; then
75
+ echo "Checkout latest MTFG release"
76
+ git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
77
+else
78
+ echo "Use latest git commit (only for developers!)"
79
+fi
80
81
if command -v apt; then
82
# debian based distro:
0 commit comments