mirror of
https://github.com/jellyfin/jellyfin-meta-plugins.git
synced 2024-11-23 06:09:47 +00:00
Use sudo for jprm command
This commit is contained in:
parent
6ccb6b5c4b
commit
a5e8709938
2
.github/workflows/publish.yaml
vendored
2
.github/workflows/publish.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user