1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-23 07:18:07 +00:00

Merge pull request #1539 from mterron/patch-1

Add support for PowerPC architecture
This commit is contained in:
Dan Schaper 2017-06-25 19:37:23 -07:00 committed by GitHub
commit b477b7f777

View File

@ -1393,6 +1393,10 @@ FTLdetect() {
echo -e "${OVER} ${TICK} Detected ARM architecture" echo -e "${OVER} ${TICK} 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 -e "${OVER} ${TICK} Detected x86_64 architecture" echo -e "${OVER} ${TICK} Detected x86_64 architecture"