github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/snap/hooks/configure (about)

     1  #!/bin/bash
     2  
     3  # Make sure we have lxd installed to use
     4  if [ "$(which lxd)" = "" ]; then
     5      snap install lxd || true
     6  fi
     7  
     8  # copy bash completions to host system
     9  cp -a $SNAP/bash_completions/* /usr/share/bash-completion/completions/. || true