From 1fc793c3fd91c1226858b27832d8258b450119c6 Mon Sep 17 00:00:00 2001 From: billz Date: Wed, 19 Mar 2025 12:00:07 -0700 Subject: [PATCH] Exec git submodule update --remote plugins on $source_dir --- installers/common.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/installers/common.sh b/installers/common.sh index 21395e85..a6a56261 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -600,6 +600,7 @@ function _download_latest_files() { if [ -n "$username" ] && [ -n "$acctoken" ]; then insiders_source_url="https://${username}:${acctoken}@github.com/$repo" git clone --branch $branch --depth 1 --recurse-submodules -c advice.detachedHead=false $insiders_source_url $source_dir || clone=false + git -C $source_dir submodule update --remote plugins || clone=false else _install_status 3 echo "Insiders please read this: https://docs.raspap.com/insiders/#authentication" @@ -607,6 +608,7 @@ function _download_latest_files() { fi if [ -z "$insiders_source_url" ]; then git clone --branch $branch --depth 1 --recurse-submodules -c advice.detachedHead=false $git_source_url $source_dir || clone=false + git -C $source_dir submodule update --remote plugins || clone=false fi if [ "$clone" = false ]; then _install_status 1 "Unable to download files from GitHub"