1
0
Fork 0
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:
liberodark 2020-01-13 23:04:39 +01:00 committed by GitHub
parent 873453b31c
commit de04b0642c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,7 +112,7 @@ ynh_setup_source "$final_path"
#================================================= #=================================================
chmod +x ../conf/htpasswd chmod +x ../conf/htpasswd
password_gen=$(./htpasswd -B -n -b -i "$ad_user" "$ad_password" | sed "s/"$ad_user"://") password_gen=$(../conf/htpasswd -B -n -b -i "$ad_user" "$ad_password" | sed "s/"$ad_user"://")
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"