]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
install-deps.sh: do not require sudo when root
authorLoic Dachary <ldachary@redhat.com>
Sat, 20 Dec 2014 17:57:59 +0000 (18:57 +0100)
committerLoic Dachary <ldachary@redhat.com>
Sun, 21 Dec 2014 16:52:18 +0000 (17:52 +0100)
commit2de2c4b035ed9519842c82aaa7c5d942e625af74
tree6afaba4ee604fb8e854897ca93fb3095a3e9f75f
parentee006bb11db98eb08b0455c30980cae4ed19dc25
install-deps.sh: do not require sudo when root

If the user is root, do not use sudo. The sudo package is not installed
by default on centos by default and when building from script it may be
that root is running install-deps.sh on a freshly install distribution.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
install-deps.sh