File: u-boot-menu.postinst

package info (click to toggle)
u-boot-menu 4.2.4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 120 kB
  • sloc: sh: 283; makefile: 2
file content (19 lines) | stat: -rwxr-xr-x 255 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

set -e

if [ "$1" = "triggered" ]
then
	u-boot-update
fi

if [ "$1" = "configure" ]
then
	# Create an initial extlinux.conf if directory not already present
	if [ -z "$2" ] && [ ! -e "/boot/extlinux" ]
	then
		u-boot-update
	fi
fi

#DEBHELPER#