also generate and link bash completion for bullseye

This commit is contained in:
Kay0u 2021-11-25 14:50:03 +01:00
parent 44fd2c7874
commit d45de75ea9
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -245,6 +245,9 @@ function use_git()
create_sym_link "/ynh-dev/yunohost/conf" "/usr/share/yunohost/conf"
create_sym_link "/ynh-dev/yunohost/locales" "/usr/share/yunohost/locales"
create_sym_link "/ynh-dev/yunohost/src" "/usr/lib/python3/dist-packages/yunohost"
python3 "/ynh-dev/yunohost/doc/generate_bash_completion.py"
create_sym_link "/ynh-dev/yunohost/doc/bash-completion.sh" "/etc/bash_completion.d/yunohost"
else
# data
python3 "/ynh-dev/yunohost/data/actionsmap/yunohost_completion.py"