On Sat, Sep 28, 2013 at 11:30 AM, Frank Murphy <frankly3d(a)gmail.com> wrote:
On Sat, 28 Sep 2013 10:31:07 -0500
inode0 <inode0(a)gmail.com> wrote:
> While there might be a cleaner way to detect that something was
> downloaded what I do is log the output from reposync and then
>
> if grep -q Download REPOSYNCLOG; then
> # do stuff when new things were synced
> fi
>
> John
With bash would there be an
else
exit
?
You can add one if you want one.
if something; then
something
else
something else
fi
John