mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-13 08:52:20 +00:00
Updated plugin retrieval to overwrite exiting file
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#!/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 )"
|
||||
DOWNLOAD_FOLDER="${MY_FOLDER}/../MacPass/Resources/"
|
||||
cd "${DOWNLOAD_FOLDER}"
|
||||
wget "${URL}"
|
||||
wget -O "${FILE}" "${URL}"
|
||||
|
||||
Reference in New Issue
Block a user