Skip to content

Commit

Permalink
before_install: adduser -> useradd for compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
blockloop committed Apr 8, 2019
1 parent 25475d0 commit 6712f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/scripts/before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ create_user() {
# create the user if it doesn't already exist
if ! getent passwd $USERNAME >/dev/null 2>&1; then
echo "Creating $USERNAME user..."
adduser -M --system $USERNAME
useradd -M --system $USERNAME
fi
}

Expand Down

0 comments on commit 6712f22

Please sign in to comment.