From e7d479f8c6f7f54faaa4f78ea0c8098bb6fa6231 Mon Sep 17 00:00:00 2001 From: Aidan Steele Date: Fri, 8 Apr 2022 12:50:33 +1000 Subject: [PATCH] sudo? --- start.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.mjs b/start.mjs index 5aab019..eabd2ef 100644 --- a/start.mjs +++ b/start.mjs @@ -2,5 +2,5 @@ import { execSync } from 'child_process'; const url = "https://github.com/aidansteele/gha-stats/releases/download/v0.1.0/gha-stats_0.1.0_linux_amd64.tar.gz"; execSync(`curl -o /tmp/gha-stats.tgz -L ${url}`); -execSync(`tar -C /usr/bin -xvf /tmp/gha-stats.tgz`); +execSync(`sudo tar -C /usr/bin -xvf /tmp/gha-stats.tgz`); execSync(`gha-stats start`);