added option to setup to install ntfy.sh client
This commit is contained in:
Executable
+9
@@ -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
|
||||||
|
|
||||||
@@ -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
|
if [[ -n $(command -v 'php') ]]; then
|
||||||
read -p 'Install PHP Composer? [y/N]: ' response
|
read -p 'Install PHP Composer? [y/N]: ' response
|
||||||
case "${response}" in
|
case "${response}" in
|
||||||
|
|||||||
Reference in New Issue
Block a user