mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
Update install
This commit is contained in:
parent
6a3d49dd1c
commit
826492a86c
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ ynh_setup_source "$final_path"
|
||||||
ynh_print_info --message="$ad_user"
|
ynh_print_info --message="$ad_user"
|
||||||
ynh_print_info --message="$ad_password"
|
ynh_print_info --message="$ad_password"
|
||||||
chmod +x ../conf/htpasswd
|
chmod +x ../conf/htpasswd
|
||||||
password_gen=$(../conf/htpasswd -B -n -b "$ad_user" "$ad_password" | sed 's/["$ad_user":]//g')
|
password_gen=$(../conf/htpasswd -B -n -b "$ad_user" "$ad_password" | sed 's/"$ad_user"://g')
|
||||||
ynh_replace_string "__FINALPATH__" "$final_path" "../conf/systemd.service"
|
ynh_replace_string "__FINALPATH__" "$final_path" "../conf/systemd.service"
|
||||||
ynh_replace_string "__USER__" "$ad_user" "../conf/AdGuardHome.yaml"
|
ynh_replace_string "__USER__" "$ad_user" "../conf/AdGuardHome.yaml"
|
||||||
ynh_replace_string "__PWD__" "$password_gen" "../conf/AdGuardHome.yaml"
|
ynh_replace_string "__PWD__" "$password_gen" "../conf/AdGuardHome.yaml"
|
||||||
|
|
Loading…
Reference in a new issue