Skip to content

Commit 54237d2

Browse files
committed
pkg/arch: Use 'runuser' instead of 'su' for running 'makepkg'
1 parent 28139f9 commit 54237d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/pkg-arch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ build)
2424
export COMPRESSZST=(zstd -c -T0 --ultra -20 -)
2525

2626
# Build
27-
su nobody --pty -p -s /bin/bash -c 'makepkg -sf --noconfirm'
27+
runuser -u nobody -- makepkg -sf --noconfirm
2828
;;
2929
sign)
3030
if [ -z "$GPG_KEY" ] || [ -z "$GPG_KEY_ID" ]; then

0 commit comments

Comments
 (0)