diff --git a/deploy-tooloop-package.sh b/deploy-tooloop-package.sh index 082e86e..088ca0c 100644 --- a/deploy-tooloop-package.sh +++ b/deploy-tooloop-package.sh @@ -2,8 +2,11 @@ # set -e -# Get current cpu architecture -architecture=$(dpkg --print-architecture) +# Get current cpu architecture used by the make output +case "$(dpkg --print-architecture)" in + amd64) architecture=x64 ;; + *) architecture=$(dpkg --print-architecture) ;; +esac # Remove old builds excluding scripts and config example find ./out/Tooloop\ OS\ Package/package/assets/presentation/ -type f -not -name '*sh' -not -name 'config*' -print0 | xargs -0 rm -f --