mirror of
https://github.com/bigbeartechworld/big-bear-scripts.git
synced 2026-03-31 06:24:02 -04:00
fix URL downloading init-mongo.js, github path has changed (#48)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user