Fix missing fetch command in upgrade script

This commit is contained in:
wiz 2021-08-21 21:56:42 +09:00
parent 1e018a6aa5
commit ca6df488c5
No known key found for this signature in database
GPG Key ID: A394E332255A6173

View File

@ -20,6 +20,7 @@ update_repo()
echo "[*] Upgrading ${site} to ${REF}"
cd "$HOME/${site}" || exit 1
git fetch origin || exit 1
for remote in mempool MiguelMedeiros knorrium;do
git remote add "${remote}" "https://github.com/${remote}/mempool" >/dev/null 2>&1
git fetch "${remote}" || exit 1