Add missing function in script run-local

This commit is contained in:
Francesco Abbate 2021-03-07 09:49:08 +01:00
parent 23a053e1ee
commit be878a39c4
1 changed files with 4 additions and 0 deletions

View File

@ -85,6 +85,10 @@ run_lite () {
fi
}
github_raw_content () {
echo "https://raw.githubusercontent.com/$1"
}
fetch_plugins () {
for name in "$@"; do
local url="$(github_raw_content "$name")"