hi frankly,
On 09/28/2013 11:30 AM, Frank Murphy wrote:
On Sat, 28 Sep 2013 10:31:07 -0500
inode0 <inode0@xxxxxxxxx> 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
.
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org