~elementary-os/ubuntu-package-imports/ubiquity-bionic

« back to all changes in this revision

Viewing changes to d-i/source/flash-kernel/debian/flash-kernel.postinst

  • Committer: RabbitBot
  • Date: 2018-02-05 14:44:42 UTC
  • Revision ID: rabbitbot@elementary.io-20180205144442-vt0fvth7zus90wjh
Initial import, version 17.10.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
if [ "$1" = "triggered" ]; then
 
6
    # we dont want to run if FLASH_KERNEL_SKIP is set, the ubuntu
 
7
    # image build system uses this
 
8
    if [ -n "$FLASH_KERNEL_SKIP" ]; then
 
9
        echo "FLASH_KERNEL_SKIP is set, skipping flash-kernel call"
 
10
        exit 0
 
11
    else
 
12
        FLASH_KERNEL_NOTRIGGER=y flash-kernel
 
13
    fi
 
14
fi
 
15
 
 
16
#DEBHELPER#