#!/bin/bash if [ ! -f "./Fork-Awesome/.git" ]; then echo -e "\x1b[31;1mFA submodule is not initialized, exit...\x1b[m" exit fi echo "=== Updating the Fork-Awesome submodule... ===" (cd Fork-Awesome && git fetch && git reset --hard origin/master) echo "=== Fork-Awesome updated ===" bash ./refresh-templates.sh