Debian Codegraph @

debian/flash-kernel-installer.isinstallable

raw
1 #!/bin/sh
2 set -e
3
4 case "`archdetect`" in
5 arm*/kirkwood)
6 exit 0
7 ;;
8 arm*/mx5)
9 exit 0
10 ;;
11 arm*/orion5x)
12 exit 0
13 ;;
14 arm*/s3c24xx)
15 exit 0
16 ;;
17 arm*/generic)
18 FK_DIR="/usr/share/flash-kernel"
19
20 . ${FK_DIR}/functions
21 get_machine
22 if check_supported "$machine" ; then
23 exit 0
24 else
25 exit 1
26 fi
27 ;;
28 # Don't activate it by default
29 *)
30 exit 1
31 ;;
32 esac
33