Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nyxnor committed Aug 10, 2023
2 parents 600d306 + 51311a5 commit 48d0aaf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/builds.yml
Expand Up @@ -54,8 +54,10 @@ jobs:
run: |
if command -v apt-get; then
apt-get update -y && apt-get install -y shellcheck sudo
else
elif command -v dnf; then
dnf update -y && dnf install -y ShellCheck sudo
else
exit 1
fi
- name: System information
run: |
Expand All @@ -70,7 +72,7 @@ jobs:
adduser --gecos "" --disabled-password user
usermod -aG sudo user
echo "%sudo ALL=(ALL) NOPASSWD: ALL" | tee /etc/sudoers.d/user
elif test -f /etc/fedora-release
elif test -f /etc/fedora-release; then
adduser user
usermod -aG sudo user
echo "%sudo ALL=(ALL) NOPASSWD: ALL" | tee /etc/sudoers.d/user
Expand Down

0 comments on commit 48d0aaf

Please sign in to comment.