aboutsummaryrefslogtreecommitdiff
path: root/sboupgrade
diff options
context:
space:
mode:
authorJ Pipkin <j@dawnrazor.net>2013-01-03 04:18:43 -0600
committerJ Pipkin <j@dawnrazor.net>2013-01-03 04:18:43 -0600
commit522ac347881d78ee9ec26a537a1c24b6805d1154 (patch)
tree7e40f8b52caeff8264ae4fc485fd45d3f9ae8368 /sboupgrade
parent822555d7e43653eb5a9b2c122a30e33af41c844b (diff)
parent9951755ab247dccf531b6c077abb0ee6f779294a (diff)
downloadsbotools2-522ac347881d78ee9ec26a537a1c24b6805d1154.tar.xz
merged c32_x64_fix, fixes #25
Diffstat (limited to 'sboupgrade')
-rwxr-xr-xsboupgrade7
1 files changed, 1 insertions, 6 deletions
diff --git a/sboupgrade b/sboupgrade
index 6900302..daa6799 100755
--- a/sboupgrade
+++ b/sboupgrade
@@ -88,6 +88,7 @@ if ($jobs) {
if ($compat32) {
die "compat32 only works on x86_64.\n" unless get_arch eq 'x86_64';
+ die "-p|--compat32 requires -N|--installnew\n" unless $install_new;
}
# if we can't find SLACKBUILDS.TXT in $config{HOME}, prompt to fetch the tree
@@ -114,12 +115,6 @@ for my $sbo (@$build_queue) {
defined $locations{$sbo};
}
-sub get_readme_path($) {
- exists $_[0] or script_error 'get_readme_path requires an argument.';
- my $sbo = shift;
- return $locations{$sbo} .'/README';
-}
-
# look for any (user|group)add commands in the README
sub get_user_group($) {
exists $_[0] or script_error 'get_user_group requires an argument';