check_installer_key mod
This commit is contained in:
@@ -173,11 +173,11 @@ get_repositories(){
|
|||||||
local BASE;
|
local BASE;
|
||||||
local TREES="";
|
local TREES="";
|
||||||
|
|
||||||
|
check_installer_key
|
||||||
|
|
||||||
REPOS=$(jq -r .repositories[] /etc/user/config/repositories.json); # list of repos, delimiter by space
|
REPOS=$(jq -r .repositories[] /etc/user/config/repositories.json); # list of repos, delimiter by space
|
||||||
for REPO in $REPOS; do
|
for REPO in $REPOS; do
|
||||||
|
|
||||||
check_installer_key
|
|
||||||
|
|
||||||
BASE=$(basename $REPO | cut -d '.' -f1)
|
BASE=$(basename $REPO | cut -d '.' -f1)
|
||||||
if [ ! -d "/tmp/$BASE" ]; then
|
if [ ! -d "/tmp/$BASE" ]; then
|
||||||
git clone $REPO /tmp/$BASE;
|
git clone $REPO /tmp/$BASE;
|
||||||
|
Reference in New Issue
Block a user