#!/bin/bash

motd_fragment="/etc/update-motd.d/90-updates-available"

if [ -f "$motd_fragment" ]
then
	sed "s/^\([^#].*\)\?$/# \1/" -i "$motd_fragment"
fi

apt_conf_fragment="/etc/apt/apt.conf.d/99update-notifier"

if [ -f "$apt_conf_fragment" ]
then
	sed "s/^\([^#].*\)\?$/# \1/" -i "$apt_conf_fragment"
fi

exit 0
