Script Help (Bash)
Frank Murphy
frankly3d at gmail.com
Sat Sep 28 16:30:12 UTC 2013
On Sat, 28 Sep 2013 10:31:07 -0500
inode0 <inode0 at 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
?
Maybe me need to lookup bash functions :(
--
Regards,
Frank
www.frankly3d.com
More information about the users
mailing list