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
7d7c42e4da
commit
4320c1c8b3
1 changed files with 8 additions and 2 deletions
|
@ -103,8 +103,14 @@ esac
|
|||
# GENERATE PASSWORD
|
||||
#=================================================
|
||||
|
||||
chmod +x ../conf/htpasswd
|
||||
password_gen=$(../conf/htpasswd -B -n -b "$ad_user" "$ad_password" | sed "s/"$ad_user"://")
|
||||
case `uname -m` in
|
||||
x86_64) htpasswd_arch=htpasswd-amd64 ;;
|
||||
aarch64) htpasswd_arch=htpasswd-arm64 ;;
|
||||
*) ynh_die "Unknown arch" ;;
|
||||
esac
|
||||
|
||||
chmod +x ../conf/$htpasswd_arch
|
||||
password_gen=$(../conf/$htpasswd_arch -B -n -b "$ad_user" "$ad_password" | sed "s/"$ad_user"://")
|
||||
|
||||
#=================================================
|
||||
# MODIFY A CONFIG FILE
|
||||
|
|
Loading…
Reference in a new issue