Kaynağa Gözat

pkg/arch: Use 'runuser' instead of 'su' for running 'makepkg'

Maximilian Luz 6 ay önce
ebeveyn
işleme
795ede116a
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      .github/scripts/package/arch.sh

+ 1 - 1
.github/scripts/package/arch.sh

@@ -49,7 +49,7 @@ build-packages)
     export MAKEFLAGS="-j2"
     export MAKEFLAGS="-j2"
 
 
     # Build
     # Build
-    su nobody --pty -p -s /bin/bash -c 'makepkg -sf --skippgpcheck --noconfirm'
+    runuser -u nobody -- makepkg -sf --skippgpcheck --noconfirm
 
 
     # Prepare release
     # Prepare release
     mkdir release
     mkdir release