Don't check reboot-notifier package for debian containers (#642)

This commit is contained in:
Zsolt
2018-05-21 06:11:59 +01:00
committed by Kota Kanbe
parent 6f9fd91849
commit f653ca9131

View File

@@ -162,7 +162,9 @@ func (o *debian) checkDependencies() error {
case config.Debian:
// https://askubuntu.com/a/742844
packNames = append(packNames, "reboot-notifier")
if !o.ServerInfo.IsContainer() {
packNames = append(packNames, "reboot-notifier")
}
if config.Conf.Deep {
// Debian needs aptitude to get changelogs.