/usr/lib/stalin/stalin-architecture-name is in stalin 0.11-6+b1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | #!/bin/sh
if test -e /etc/debian_version
then
if test -z `which dpkg-architecture`
then
echo "Please install the dpkg-dev package."
exit 1
fi
echo `dpkg-architecture -qDEB_HOST_ARCH_CPU`
exit 0
fi
case `uname -m`/`uname -s` in
i[3456]86/*)
echo "IA32";;
sparc/Linux)
echo "SPARC";;
sparc64/Linux)
echo "SPARC64";;
sun4*/*)
echo "SPARC";;
IP*/IRIX*)
echo "MIPS";;
alpha/*)
echo "Alpha";;
arm*/*)
echo "ARM";;
m68k/Linux)
echo "M68K";;
"Power Macintosh/Darwin")
echo "PowerPC";;
s390/Linux)
echo "S390";;
000661704C00/AIX)
echo "PowerPC64";;
000661714C00/AIX)
echo "PowerPC64";;
000661724C00/AIX)
echo "PowerPC64";;
000661734C00/AIX)
echo "PowerPC64";;
*)
echo "unknown";;
esac
|