On Sat, Sep 28, 2013 at 11:30 AM, Frank Murphy <frankl...@gmail.com> wrote:
> On Sat, 28 Sep 2013 10:31:07 -0500
> inode0 <ino...@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
-- 
users mailing list
users@lists.fedoraproject.org
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

Reply via email to