commit 9c93f342f4f9a3e1a445fe3ac24679e0e534e3f0
parent 93c2f0cca06695781053f700f660add616299e27
Author: J Pipkin <j@dawnrazor.net>
Date: Sun, 9 Sep 2012 00:56:11 -0500
add compat32/arch check to sboupgrade so we can bail at the appropriate point if arch != x86_64 and --compat32|-p is specified
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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;