Sebastian Ramacher, le mar. 06 avril 2021 21:43:50 +0200, a ecrit:
> >  apt-install espeakup alsa-utils || true
> >  
> > +mkdir -p /var/lock
> > +mkdir -p /var/lib/alsa
> > +if alsactl store
> > +then
> > +   cp /var/lib/alsa/asound.state /target/var/lib/alsa/ || true
> 
> Is /target/var/lib/alsa/ guaranteed to exist at this point or should it
> also be created?

The directory comes from alsa-utils, requested for installation just
above. If the directory doesn't exist it means that alsa-utils could not
be installed and thus copying the file will be useless anyway. That is
why if it fails then too bad, we can't do more anyway.

Samuel

Reply via email to