fixed issue for makepkg paru and Root execution on worflow container
This commit is contained in:
@@ -31,6 +31,6 @@ jobs:
|
||||
- name: Check out Repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Start setup proces
|
||||
- name: Start setup process
|
||||
run: |
|
||||
./setup.sh
|
||||
|
||||
2
dist/pacman.sh
vendored
2
dist/pacman.sh
vendored
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user