From 45dda34478044c2e4572290283d8af7d7ff4a035 Mon Sep 17 00:00:00 2001 From: anorien90 Date: Tue, 9 Dec 2025 14:12:54 +0100 Subject: [PATCH] fixed issue for makepkg paru and Root execution on worflow container --- dist/pacman.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dist/pacman.sh b/dist/pacman.sh index fc9b2f9..4db6a9a 100755 --- a/dist/pacman.sh +++ b/dist/pacman.sh @@ -35,7 +35,9 @@ else TEMP_USER="tempuser" useradd -m "$TEMP_USER" chown -R "$TEMP_USER":"$TEMP_USER" . - su "$TEMP_USER" -c "makepkg -si --noconfirm" + login "$TEMP_USER" + makepkg -si --noconfirm + logout userdel -r "$TEMP_USER" else echo "Building paru as user $USER..."