Or probably it's better to let the notifier check if there's a dpkg- lock-file.
-- “System restart required” displayed in the middle of a long upgrade https://bugs.launchpad.net/bugs/372460 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs