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

Bug#642396: live-config: In function Cmdline file existence is ignored during _SCRIPTS list construction.



On 09/22/2011 10:31 AM, Stanislav Bogatyrev wrote:
> If I don't have *-upstart packages installed, config.sh fails.

indeed.

> The error is rised by ls in  _SCRIPTS="${_SCRIPTS} $(ls
> /lib/live/config/???-${_CONFIG})"
>   live-config:ls: cannot access /lib/live/config/???-opernssh-server:
> No such file or directory

the ls just needs a guarding with || true then.

-- 
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baumann@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/



Reply to: