File: postinst

package info (click to toggle)
apex 1.6.10
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 13,624 kB
  • ctags: 14,682
  • sloc: ansic: 195,323; cpp: 4,449; perl: 4,109; makefile: 1,665; sh: 1,256; yacc: 967; asm: 952; lex: 739; python: 286
file content (12 lines) | stat: -rw-r--r-- 190 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

#DEBHELPER#

# Install on NSLU2, only
unset h
if cat /proc/cpuinfo | grep -iq "Linksys NSLU2" ; then h=1 ; fi

if [ "$1" = configure -a x"$h" = x"1" ]; then
	flash-apex
fi