fixed issue for makepkg paru and Root execution on worflow container
This commit is contained in:
4
dist/pacman.sh
vendored
4
dist/pacman.sh
vendored
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user