Setup Paper before applying patches

This commit is contained in:
Sotr
2020-04-13 21:01:23 +07:00
parent e461f5cdf5
commit 525aeb9112
2 changed files with 11 additions and 9 deletions

View File

@@ -26,9 +26,11 @@ echo "----------------------------------------"
set -e
subtasks=1
echo " $(bashcolor 1 32)(0/$subtasks)$(bashcolorend) - Update Git submodules.."
git submodule update --init --recursive
updatepaper=$2
if [ "$updatepaper" == "1" ]; then
echo " $(bashcolor 1 32)(0/$subtasks)$(bashcolorend) - Update Git submodules.."
git submodule update --init --recursive
fi
if [[ "$2" == "--resetPaper" ]]; then
echo " $(bashcolor 1 32)(0/$subtasks)$(bashcolorend) - Reset Paper submodule.."