fix test call

This commit is contained in:
Antoine Beaupré 2008-10-16 21:23:22 +00:00
parent 813c80f910
commit 82d4a46f65
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ case "$1" in
if [ "X$ret" != "" ]; then
echo "Creating alternc-mergelog account"
adduser --quiet --system --home /var/run/alternc-mergelog --shell /bin/false --ingroup adm alternc-mergelog
if [ ! grep -q "$ret" /var/run/alternc-mergelog/.ssh/authorized_keys ]; then
if ! grep -q "$ret" /var/run/alternc-mergelog/.ssh/authorized_keys ; then
mkdir -p /var/run/alternc-mergelog/.ssh
echo "$ret" >> /var/run/alternc-mergelog/.ssh/authorized_keys
chown -R alternc-mergelog:adm /var/run/alternc-mergelog/.ssh