diff --git a/ct/pihole.sh b/ct/pihole.sh index a90658793..19ba53364 100644 --- a/ct/pihole.sh +++ b/ct/pihole.sh @@ -29,6 +29,8 @@ function update_script() { fi msg_info "Updating ${APP}" set +e + $STD apt-get update + $STD apt-get upgrade -y /usr/local/bin/pihole -up msg_ok "Updated ${APP}" exit @@ -41,4 +43,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}/admin${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}/admin${CL}"