filter folder only in glob
This commit is contained in:
parent
193be9c8cb
commit
34f80ef13e
@ -196,8 +196,8 @@ apxtri.setuptribe = async (tribe, conf) => {
|
|||||||
// this command is ran by the setup.sh
|
// this command is ran by the setup.sh
|
||||||
// grep -q '^127.0.0.1 adminapx.adminapi' /etc/hosts || echo '127.0.0.1 adminapx.adminapi' | sudo tee -a /etc/hosts > /dev/null
|
// grep -q '^127.0.0.1 adminapx.adminapi' /etc/hosts || echo '127.0.0.1 adminapx.adminapi' | sudo tee -a /etc/hosts > /dev/null
|
||||||
const ips = await getip();
|
const ips = await getip();
|
||||||
const nginrestart = initadminapi.nginx.restart
|
const nginrestart = inittribe.nginx.restart
|
||||||
? initadminapi.nginx.restart
|
? inittribe.nginx.restart
|
||||||
: fs.readJSONSync("../adminapi/apxtri/setup/initadminapi.json").nginx
|
: fs.readJSONSync("../adminapi/apxtri/setup/initadminapi.json").nginx
|
||||||
.restart;
|
.restart;
|
||||||
const { exec } = require("child_process");
|
const { exec } = require("child_process");
|
||||||
|
Loading…
Reference in New Issue
Block a user