File: virtualbox-ose-guest-utils.postinst

package info (click to toggle)
virtualbox-ose 3.2.10-dfsg-1%2Bsqueeze3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 131,608 kB
  • ctags: 190,413
  • sloc: cpp: 697,035; ansic: 597,120; asm: 24,400; python: 12,911; sh: 11,788; makefile: 7,760; objc: 2,244; perl: 1,958; java: 1,909; xml: 629; sed: 376; cs: 226; php: 46
file content (11 lines) | stat: -rw-r--r-- 242 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

#DEBHELPER#

if [ "$1" = configure ] && [ -n "$2" ] && \
   [ -x /usr/share/update-notifier/notify-reboot-required ] && \
   pidof VBoxService > /dev/null; then
	/usr/share/update-notifier/notify-reboot-required || true
fi