aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsboupgrade3
1 files changed, 3 insertions, 0 deletions
diff --git a/sboupgrade b/sboupgrade
index 6bc0700..d2e54a4 100755
--- a/sboupgrade
+++ b/sboupgrade
@@ -74,6 +74,9 @@ if ($jobs) {
$jobs = 0 if $jobs eq 'FALSE';
show_usage and exit 1 unless exists $ARGV[0];
+if ($compat32) {
+ die "compat32 only works on x86_64.\n" unless get_arch eq 'x86_64';
+}
# if we can't find SLACKBUILDS.TXT in $config{HOME}, prompt to fetch the tree
slackbuilds_or_fetch;