hi frankly,
On 09/28/2013 11:30 AM, Frank Murphy 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
With bash would there be an
else
exit
?
frankly, no.
if the "if" fails, there is nothing else to do, so it will exit.
Maybe me need to lookup bash functions :(
frankly, would not hurt.
--
peace out.
in a world with out fences, who needs gates.
tc.hago.
g
.