mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-15 23:52:16 +00:00
Updated plugin retrieval to overwrite exiting file
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
URL="https://macpassapp.org/data/plugins.json"
|
FILE="plugins.json"
|
||||||
|
URL="https://macpassapp.org/data/${FILE}"
|
||||||
MY_FOLDER="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
MY_FOLDER="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||||
DOWNLOAD_FOLDER="${MY_FOLDER}/../MacPass/Resources/"
|
DOWNLOAD_FOLDER="${MY_FOLDER}/../MacPass/Resources/"
|
||||||
cd "${DOWNLOAD_FOLDER}"
|
cd "${DOWNLOAD_FOLDER}"
|
||||||
wget "${URL}"
|
wget -O "${FILE}" "${URL}"
|
||||||
|
|||||||
Reference in New Issue
Block a user