Browse Source

rpm: fix installation warning (#479)

Avoid cosmetic error when installing the package:

 line 8: cho: command not found
pull/491/head
Giacomo Sanchietti 4 years ago
committed by GitHub
parent
commit
036a947521
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/rpm/n2n.spec.in

2
packages/rpm/n2n.spec.in

@ -78,7 +78,7 @@ if ! grep -q n2n /etc/group; then
fi fi
if ! /usr/bin/id -u n2n > /dev/null 2>&1; then if ! /usr/bin/id -u n2n > /dev/null 2>&1; then
cho 'Creating n2n user' echo 'Creating n2n user'
/usr/sbin/useradd -M -N -g n2n -r -s /bin/false n2n /usr/sbin/useradd -M -N -g n2n -r -s /bin/false n2n
fi fi

Loading…
Cancel
Save