From b34ff3169ed62b955b0c687bc540605a5049771a Mon Sep 17 00:00:00 2001 From: anorien90 Date: Tue, 9 Dec 2025 14:09:29 +0100 Subject: [PATCH] fixed issue for makepkg paru and Root execution on worflow container --- .gitea/workflows/build_arch.yml | 2 +- dist/pacman.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build_arch.yml b/.gitea/workflows/build_arch.yml index ba0cf63..1003d31 100644 --- a/.gitea/workflows/build_arch.yml +++ b/.gitea/workflows/build_arch.yml @@ -31,6 +31,6 @@ jobs: - name: Check out Repository uses: actions/checkout@v4 - - name: Start setup proces + - name: Start setup process run: | ./setup.sh diff --git a/dist/pacman.sh b/dist/pacman.sh index 9433ca8..fc9b2f9 100755 --- a/dist/pacman.sh +++ b/dist/pacman.sh @@ -35,7 +35,7 @@ else TEMP_USER="tempuser" useradd -m "$TEMP_USER" chown -R "$TEMP_USER":"$TEMP_USER" . - su -u "$TEMP_USER" -c "makepkg -si --noconfirm" + su "$TEMP_USER" -c "makepkg -si --noconfirm" userdel -r "$TEMP_USER" else echo "Building paru as user $USER..."