Add support for PowerPC architecture

Related to https://github.com/pi-hole/FTL/pull/88
This commit is contained in:
Terror 2017-06-20 08:28:04 +12:00 committed by GitHub
parent 26fcb1b2a0
commit 5b472ff67c

View file

@ -1265,6 +1265,10 @@ FTLdetect() {
echo "::: Detected ARM architecture" echo "::: Detected ARM architecture"
binary="pihole-FTL-arm-linux-gnueabi" binary="pihole-FTL-arm-linux-gnueabi"
fi fi
elif [[ $machine == ppc ]]; then
# PowerPC
echo "::: Detected PowerPC architecture"
binary="pihole-FTL-powerpc-linux-gnu"
elif [[ $machine == x86_64 ]]; then elif [[ $machine == x86_64 ]]; then
# 64bit # 64bit
echo "::: Detected x86_64 architecture" echo "::: Detected x86_64 architecture"