Skip to content

Commit

Permalink
apparently sudo is necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
burner1024 committed Apr 26, 2024
1 parent 953011c commit 75e2d17
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gha.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ if ! grep "Ubuntu" /etc/issue; then
exit 0
fi

rm -f /etc/apt/sources.list.d/microsoft-prod.list
eatmydata dpkg --add-architecture i386
eatmydata apt-get update -qq
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
sudo eatmydata dpkg --add-architecture i386
sudo eatmydata apt-get update -qq

if [[ "$INPUT_INSTALL_WINE" != 'false' ]]; then
DEBIAN_FRONTEND=noninteractive eatmydata apt-get install -yqq --allow-downgrades libc6:i386 libgcc-s1:i386 libstdc++6:i386 wine
sudo DEBIAN_FRONTEND=noninteractive eatmydata apt-get install -yqq --allow-downgrades libc6:i386 libgcc-s1:i386 libstdc++6:i386 wine

# wine pollutes the log with "wine: Read access denied for device" if z is linked to /
if [[ "$INPUT_WINE_FIX_READ_ACCESS_DENIED" != 'false' ]]; then
Expand Down

0 comments on commit 75e2d17

Please sign in to comment.