diff --git a/packages/ondemand-release-latest/deb/debian/postinst b/packages/ondemand-release-latest/deb/debian/postinst index ade94b7..ffcecac 100644 --- a/packages/ondemand-release-latest/deb/debian/postinst +++ b/packages/ondemand-release-latest/deb/debian/postinst @@ -1,6 +1,6 @@ #!/bin/bash -if [ "$(uname -p)" = "ppc64le" ]; then +if [ "$(uname -m)" = "ppc64le" ]; then rm -f /etc/apt/sources.list.d/nodesource.list rm -f /etc/apt/trusted.gpg.d/nodesource.gpg fi diff --git a/packages/ondemand-release/deb/debian/postinst b/packages/ondemand-release/deb/debian/postinst index ade94b7..ffcecac 100644 --- a/packages/ondemand-release/deb/debian/postinst +++ b/packages/ondemand-release/deb/debian/postinst @@ -1,6 +1,6 @@ #!/bin/bash -if [ "$(uname -p)" = "ppc64le" ]; then +if [ "$(uname -m)" = "ppc64le" ]; then rm -f /etc/apt/sources.list.d/nodesource.list rm -f /etc/apt/trusted.gpg.d/nodesource.gpg fi diff --git a/packages/passenger/deb/debian/rules b/packages/passenger/deb/debian/rules index db883af..926bd09 100755 --- a/packages/passenger/deb/debian/rules +++ b/packages/passenger/deb/debian/rules @@ -35,7 +35,7 @@ $(PREFIX)/usr/sbin/passenger-status "$$@" endef export ONDEMAND_PASSENGER_STATUS -export ARCH = $(shell uname -p) +export ARCH = $(shell uname -m) ifeq ($(ARCH),aarch64) export MFLAG = "-march=armv8-a" else