typo
This commit is contained in:
parent
91e7494658
commit
2558e21039
@ -123,16 +123,10 @@ function install() {
|
|||||||
local ip
|
local ip
|
||||||
ip=$(get_ip)
|
ip=$(get_ip)
|
||||||
|
|
||||||
msg_info "Downloading ${APP}"
|
|
||||||
rm -f "$HOME/.adguardhome-sync"
|
|
||||||
mkdir -p "$INSTALL_PATH"
|
|
||||||
fetch_and_deploy_gh_release "adguardhome-sync" "bakito/adguardhome-sync" "prebuild" "latest" "$INSTALL_PATH" "adguardhome-sync_*_linux_amd64.tar.gz"
|
fetch_and_deploy_gh_release "adguardhome-sync" "bakito/adguardhome-sync" "prebuild" "latest" "$INSTALL_PATH" "adguardhome-sync_*_linux_amd64.tar.gz"
|
||||||
chmod +x "$INSTALL_PATH/adguardhome-sync"
|
|
||||||
msg_ok "Downloaded ${APP}"
|
|
||||||
|
|
||||||
# Gather configuration from user
|
# Gather configuration from user
|
||||||
echo ""
|
echo ""
|
||||||
msg_info "Configuring AdGuard Home instances"
|
|
||||||
echo -e "${TAB}Enter details for your AdGuard Home instances."
|
echo -e "${TAB}Enter details for your AdGuard Home instances."
|
||||||
echo -e "${TAB}The Origin is your primary instance, Replica will sync from it."
|
echo -e "${TAB}The Origin is your primary instance, Replica will sync from it."
|
||||||
echo ""
|
echo ""
|
||||||
@ -159,8 +153,7 @@ function install() {
|
|||||||
read -rsp " Replica Password: " replica_pass
|
read -rsp " Replica Password: " replica_pass
|
||||||
echo ""
|
echo ""
|
||||||
replica_pass="${replica_pass:-changeme}"
|
replica_pass="${replica_pass:-changeme}"
|
||||||
|
echo ""
|
||||||
msg_ok "Configuration gathered"
|
|
||||||
|
|
||||||
msg_info "Creating configuration"
|
msg_info "Creating configuration"
|
||||||
cat <<EOF >"$CONFIG_PATH"
|
cat <<EOF >"$CONFIG_PATH"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user