Skip to content

Commit db26963

Browse files
author
arch
committed
improve linux install
1 parent 3b382f2 commit db26963

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

contrib/OpenFunscripter/openfunscripter_setup_linux.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ if [ -d $OFS_APP_DIR ]; then
3636
echo ">> OpenFunscripter Source already downloaded (Updating...)"
3737
pushd $OFS_APP_DIR
3838
git pull
39+
git checkout master
40+
git pull
3941
git submodule update --init
4042
pushd $OFS_APP_DIR/lib/EASTL
4143
git submodule update --init
@@ -55,7 +57,6 @@ fi
5557
if [ "$arg1" != "--latest" ]; then
5658
echo "Checkout latest OpenFunscripter release"
5759
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
58-
# git checkout 1.4.4
5960
git submodule update --init
6061
pushd $OFS_APP_DIR/lib/EASTL
6162
git submodule update --init
@@ -87,6 +88,8 @@ echo "Update MTFG"
8788
git reset --hard HEAD
8889
git clean -fd
8990
git pull --all
91+
git checkout main
92+
git pull
9093

9194
if [ "$arg1" != "--latest" ]; then
9295
echo "Checkout latest MTFG release"
@@ -143,3 +146,7 @@ EOL
143146

144147

145148
echo "Installation Completed"
149+
150+
if [ "$arg1" = "--latest" ]; then
151+
echo "WARNING: you have install the latest application code"
152+
fi

0 commit comments

Comments
 (0)