Skip to content

Commit df93fc0

Browse files
authored
Update pihole.sh (#4026)
1 parent e24e930 commit df93fc0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ct/pihole.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ function update_script() {
2929
fi
3030
msg_info "Updating ${APP}"
3131
set +e
32+
$STD apt-get update
33+
$STD apt-get upgrade -y
3234
/usr/local/bin/pihole -up
3335
msg_ok "Updated ${APP}"
3436
exit
@@ -41,4 +43,4 @@ description
4143
msg_ok "Completed Successfully!\n"
4244
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
4345
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
44-
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}/admin${CL}"
46+
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}/admin${CL}"

0 commit comments

Comments
 (0)