repo-add: only attempt to create deltas when asked
commitb947db040c2c586636fc290f0fadbe89e9802450
authorAllan McRae <allan@archlinux.org>
Sat, 22 Jan 2011 14:13:24 +0000 (23 00:13 +1000)
committerDan McGee <dan@archlinux.org>
Sat, 22 Jan 2011 16:02:51 +0000 (22 10:02 -0600)
treec09e257facb8da23bc5559c87bdc6ba1af0ef499
parent3863e48788e2424c4f1469e72dabda6fba595c4c
repo-add: only attempt to create deltas when asked

repo-add should only attempt to create the delta file when using the -d
option.

Also adjust a couple of tests to use the "double bracket" syntax.

Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
scripts/repo-add.sh.in