fix URL downloading init-mongo.js, github path has changed (#48)

This commit is contained in:
Jerry
2025-10-12 16:33:12 +00:00
committed by GitHub
parent ec55c7e9b2
commit 3b87f8d0bb
4 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ fi
mkdir -p "$(dirname "$location")"
# Download the file from the given URL and save it to the specified location
if ! curl -L "https://raw.githubusercontent.com/bigbeartechworld/big-bear-video-assets/main/how-to-install-unifi-network-application-on-portainer/init-mongo.js" -o "$location"; then
if ! curl -L "https://raw.githubusercontent.com/bigbeartechworld/big-bear-video-assets/refs/heads/main/portainer/unifi-network-application/init-mongo.js" -o "$location"; then
echo "Error downloading the file. Check your Internet connection or the URL."
exit 1
fi

View File

@@ -21,7 +21,7 @@ fi
mkdir -p "$(dirname "$location")"
# Download the file from the given URL and save it to the specified location
if ! curl -L "https://raw.githubusercontent.com/bigbeartechworld/big-bear-video-assets/main/how-to-install-unifi-network-application-on-portainer/init-mongo.js" -o "$location"; then
if ! curl -L "https://raw.githubusercontent.com/bigbeartechworld/big-bear-video-assets/refs/heads/main/portainer/unifi-network-application/init-mongo.js" -o "$location"; then
echo "Error downloading the file. Check your Internet connection or the URL."
exit 1
fi

View File

@@ -21,7 +21,7 @@ fi
mkdir -p "$(dirname "$location")"
# Download the file from the given URL and save it to the specified location
if ! curl -L "https://raw.githubusercontent.com/bigbeartechworld/big-bear-video-assets/main/how-to-install-unifi-network-application-on-portainer/init-mongo.sh" -o "$location"; then
if ! curl -L "https://raw.githubusercontent.com/bigbeartechworld/big-bear-video-assets/refs/heads/main/portainer/unifi-network-application/init-mongo.js" -o "$location"; then
echo "Error downloading the file. Check your Internet connection or the URL."
exit 1
fi

View File

@@ -21,7 +21,7 @@ fi
mkdir -p "$(dirname "$location")"
# Download the file from the given URL and save it to the specified location
if ! curl -L "https://raw.githubusercontent.com/bigbeartechworld/big-bear-video-assets/main/how-to-install-unifi-network-application-on-portainer/init-mongo.js" -o "$location"; then
if ! curl -L "https://raw.githubusercontent.com/bigbeartechworld/big-bear-video-assets/refs/heads/main/portainer/unifi-network-application/init-mongo.js" -o "$location"; then
echo "Error downloading the file. Check your Internet connection or the URL."
exit 1
fi