fixed issue for makepkg paru and Root execution on worflow container
This commit is contained in:
3
dist/pacman.sh
vendored
3
dist/pacman.sh
vendored
@@ -35,7 +35,8 @@ else
|
||||
TEMP_USER="tempuser"
|
||||
useradd -m "$TEMP_USER"
|
||||
chown -R "$TEMP_USER":"$TEMP_USER" .
|
||||
login "$TEMP_USER"
|
||||
login $TEMP_USER
|
||||
echo "Building paru as user $TEMP_USER..."
|
||||
makepkg -si --noconfirm
|
||||
logout
|
||||
userdel -r "$TEMP_USER"
|
||||
|
||||
Reference in New Issue
Block a user