[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#598375: live-config: hooks on media do not run



On 09/28/2010 11:10 PM, Scott Barker wrote:
> There is also a faulty "if" statement on line 56. This is incorrect:
> 
>   if $(echo "${_HOOK}" | grep file:\/\/)
> 
> this is correct:
> 
>   if (echo "${_HOOK}" | grep file:\/\/)

not really, the proper way to do it is

  if echo "${_HOOK}" | grep -qs file://

fixed that in git.

> I think in the sed statement, "file\://" could just be "file://" as well.

fixed in git.

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/



Reply to: