~ubuntu-core-dev/ubuntu/raring/grub2/raring

« back to all changes in this revision

Viewing changes to debian/kernel/zz-update-grub

  • Committer: Colin Watson
  • Date: 2013-01-25 00:36:41 UTC
  • mfrom: (1892.1.773 2.00)
  • Revision ID: cjwatson@canonical.com-20130125003641-u64939ngp88usnlv
merge from Debian 2.00-12

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
which update-grub >/dev/null 2>&1 || exit 0
5
5
 
 
6
if type running-in-container >/dev/null 2>&1 && \
 
7
   running-in-container >/dev/null; then
 
8
        exit 0
 
9
fi
 
10
 
6
11
set -- $DEB_MAINT_PARAMS
7
12
mode="${1#\'}"
8
13
mode="${mode%\'}"