diff options
author | David P <megver83@parabola.nu> | 2020-01-18 21:58:06 -0300 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2020-01-18 21:58:06 -0300 |
commit | 18811d922e43d5c525c90ec893e0b0f2ae1cda0a (patch) | |
tree | 833e9d82fb632f73cb60c63dca6822d45b0b7fa7 /configs | |
parent | 4a1bf580a54bfefd9873ae41132f6254f54a1b91 (diff) |
only run on x86_64
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'configs')
-rwxr-xr-x | configs/lxde-openrc/build.sh | 5 | ||||
-rwxr-xr-x | configs/profile-openrc/build.sh | 5 | ||||
-rwxr-xr-x | configs/profile/build.sh | 5 | ||||
-rwxr-xr-x | configs/talkingparabola/build.sh | 5 |
4 files changed, 20 insertions, 0 deletions
diff --git a/configs/lxde-openrc/build.sh b/configs/lxde-openrc/build.sh index ac53df7..6bce39b 100755 --- a/configs/lxde-openrc/build.sh +++ b/configs/lxde-openrc/build.sh @@ -240,6 +240,11 @@ if [[ ${EUID} -ne 0 ]]; then _usage 1 fi +if [[ ${arch} != x86_64 ]]; then + echo "This script needs to be run on x86_64" + _usage 1 +fi + while getopts 'N:V:L:P:A:D:w:o:g:vh' arg; do case "${arg}" in N) iso_name="${OPTARG}" ;; diff --git a/configs/profile-openrc/build.sh b/configs/profile-openrc/build.sh index 2192328..ab71e6f 100755 --- a/configs/profile-openrc/build.sh +++ b/configs/profile-openrc/build.sh @@ -236,6 +236,11 @@ if [[ ${EUID} -ne 0 ]]; then _usage 1 fi +if [[ ${arch} != x86_64 ]]; then + echo "This script needs to be run on x86_64" + _usage 1 +fi + while getopts 'N:V:L:P:A:D:w:o:g:vh' arg; do case "${arg}" in N) iso_name="${OPTARG}" ;; diff --git a/configs/profile/build.sh b/configs/profile/build.sh index e4de80e..8b3fac5 100755 --- a/configs/profile/build.sh +++ b/configs/profile/build.sh @@ -238,6 +238,11 @@ if [[ ${EUID} -ne 0 ]]; then _usage 1 fi +if [[ ${arch} != x86_64 ]]; then + echo "This script needs to be run on x86_64" + _usage 1 +fi + while getopts 'N:V:L:P:A:D:w:o:g:vh' arg; do case "${arg}" in N) iso_name="${OPTARG}" ;; diff --git a/configs/talkingparabola/build.sh b/configs/talkingparabola/build.sh index 7c4f0e7..09a8550 100755 --- a/configs/talkingparabola/build.sh +++ b/configs/talkingparabola/build.sh @@ -238,6 +238,11 @@ if [[ ${EUID} -ne 0 ]]; then _usage 1 fi +if [[ ${arch} != x86_64 ]]; then + echo "This script needs to be run on x86_64" + _usage 1 +fi + while getopts 'N:V:L:P:A:D:w:o:g:vh' arg; do case "${arg}" in N) iso_name="${OPTARG}" ;; |