|
|
@ -90,17 +90,6 @@ function two_init { |
|
|
|
|
|
|
|
|
|
|
|
# Check for NEOS update |
|
|
|
# Check for NEOS update |
|
|
|
if [ $(< /VERSION) != "$REQUIRED_NEOS_VERSION" ]; then |
|
|
|
if [ $(< /VERSION) != "$REQUIRED_NEOS_VERSION" ]; then |
|
|
|
if [ -f "$DIR/scripts/continue.sh" ]; then |
|
|
|
|
|
|
|
cp "$DIR/scripts/continue.sh" "/data/data/com.termux/files/continue.sh" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ ! -f "$BASEDIR/prebuilt" ]; then |
|
|
|
|
|
|
|
# Clean old build products, but preserve the scons cache |
|
|
|
|
|
|
|
cd $DIR |
|
|
|
|
|
|
|
git clean -xdf |
|
|
|
|
|
|
|
git submodule foreach --recursive git clean -xdf |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"$DIR/installer/updater/updater" "file://$DIR/installer/updater/update.json" |
|
|
|
"$DIR/installer/updater/updater" "file://$DIR/installer/updater/update.json" |
|
|
|
fi |
|
|
|
fi |
|
|
|
} |
|
|
|
} |
|
|
|