File: glantank-installer.isinstallable

package info (click to toggle)
glantank 1.4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 304 kB
  • ctags: 3
  • sloc: sh: 73; makefile: 29
file content (19 lines) | stat: -rwxr-xr-x 312 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

case "`archdetect`" in
	# Only use it on one iop32x based system
	arm*/iop32x)
		machine=$(grep "^Hardware" /proc/cpuinfo | sed 's/Hardware\s*:\s*//')
		if echo "$machine" | grep -q "^GLAN Tank"; then
			exit 0
		else
			exit 1
		fi
		;;
	# Don't activate it by default
	*)
		exit 1
		;;
esac