From 2223109eb4f116577b76597709ab1afed5fd0c8d Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 24 Mar 2024 20:18:47 -0400 Subject: [PATCH] Use sudo for kodirepo command --- .github/workflows/publish.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 140cf6b8..a7d8f964 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -56,5 +56,5 @@ jobs: key: ${{ secrets.REPO_KEY }} script_stop: true script: | - python3 /usr/local/bin/kodirepo add /srv/incoming/kodi/plugin.video.jellyfin+py3.zip --datadir /srv/repository/main/client/kodi/py3; - rm /srv/incoming/kodi/plugin.video.jellyfin+py3.zip; + sudo /usr/local/bin/kodirepo add /srv/incoming/kodi/plugin.video.jellyfin+py3.zip --datadir /srv/repository/main/client/kodi/py3 + rm /srv/incoming/kodi/plugin.video.jellyfin+py3.zip