13 lines
543 B
Bash
13 lines
543 B
Bash
# Install using: sudo su -c "bash <(wget -qO- /url/to/install-apache.sh)"
|
|
|
|
# Make sure script is ran as root
|
|
if [[ $EUID -ne 0 ]]; then
|
|
exec sudo /bin/bash "$0" "$@"
|
|
fi
|
|
|
|
apt-get remove update-manager
|
|
|
|
# Or comment out DPkg::Post-Invoke -line in 99update-notifier
|
|
# nano /etc/apt/apt.conf.d/99update-notifier
|
|
# #DPkg::Post-Invoke {"if [ -d /var/lib/update-notifier ]; then touch /var/lib/update-notifier/dpkg-run-stamp; fi; if [ -e /var/lib/update-notifier/updates-available ]; then echo > /var/lib/update-notifier/updates-available; fi "; };
|