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-17 13:58:31 +01:00 committed by GitHub
parent 7d7c42e4da
commit 4320c1c8b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,8 +103,14 @@ esac
# GENERATE PASSWORD # GENERATE PASSWORD
#================================================= #=================================================
chmod +x ../conf/htpasswd case `uname -m` in
password_gen=$(../conf/htpasswd -B -n -b "$ad_user" "$ad_password" | sed "s/"$ad_user"://") 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 # MODIFY A CONFIG FILE