added option to setup to install ntfy.sh client

This commit is contained in:
2025-11-05 15:56:37 -08:00
parent 5245484a3c
commit dd70962060
2 changed files with 22 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
sudo mkdir -p /etc/apt/keyrings
sudo curl -L -o /etc/apt/keyrings/ntfy.gpg https://archive.ntfy.sh/apt/keyring.gpg
sudo apt install apt-transport-https -y
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/ntfy.gpg] https://archive.ntfy.sh/apt stable main" | sudo tee /etc/apt/sources.list.d/ntfy.list
sudo apt update
sudo apt install ntfy -y
+13
View File
@@ -94,6 +94,19 @@ install_collection 'extra utilities: (ncdu, mosh, zip, php, rclone, etc.)' ncdu
# ----------------------------------------------------------
read -p 'Install NTFY Client? [y/N]: ' response
case "${response}" in
[Yy]* )
"${script_dir}/../ntfy-install/ntfy-install.sh"
;;
* )
echo 'Skipping'
;;
esac
echo ''
# ----------------------------------------------------------
if [[ -n $(command -v 'php') ]]; then
read -p 'Install PHP Composer? [y/N]: ' response
case "${response}" in