Use sudo for jprm command

This commit is contained in:
Joshua M. Boniface 2024-03-24 20:22:04 -04:00
parent 6ccb6b5c4b
commit a5e8709938

View File

@ -121,7 +121,7 @@ jobs:
pushd "/srv/incoming/plugin/${{ github.repository }}/${{ inputs.version }}" || exit 1
(
flock -x 300
jprm --verbosity=debug repo add --url="${JELLYFIN_REPO_URL}" "${JELLYFIN_REPO}" ./*.zip || exit 1
sudo /usr/local/bin/jprm --verbosity=debug repo add --url="${JELLYFIN_REPO_URL}" "${JELLYFIN_REPO}" ./*.zip || exit 1
) 300>${lockfile}
popd || exit 1
rm -r "/srv/incoming/plugin/${{ github.repository }}/${{ inputs.version }}" || exit 1