sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit a9ce52a79860ecd7fe620c2637a502676bdffa25
parent ed715082c802bf1b800b78d2e96098ae0804506e
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date:   Fri, 12 Feb 2016 18:00:09 +0100

Add show_version to sbo scripts

Diffstat:
Msbocheck | 2+-
Msboclean | 2+-
Msboconfig | 2+-
Msbofind | 2+-
Msboinstall | 2+-
Msboremove | 2+-
Msbosnap | 2+-
Msboupgrade | 2+-
8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/sbocheck b/sbocheck @@ -13,7 +13,7 @@ use 5.16.0; use strict; use warnings FATAL => 'all'; -use SBO::Lib qw/ update_tree get_available_updates script_error open_fh is_local /; +use SBO::Lib qw/ update_tree get_available_updates script_error open_fh is_local show_version /; use Getopt::Long; use File::Basename; use List::Util 'max'; diff --git a/sboclean b/sboclean @@ -13,7 +13,7 @@ use 5.16.0; use strict; use warnings FATAL => 'all'; -use SBO::Lib qw/ usage_error script_error in /; +use SBO::Lib qw/ usage_error script_error in show_version /; use File::Basename; use Getopt::Long qw(:config bundling); use File::Path qw(remove_tree); diff --git a/sboconfig b/sboconfig @@ -13,7 +13,7 @@ use 5.16.0; use strict; use warnings FATAL => 'all'; -use SBO::Lib qw/ usage_error script_error $tempdir open_read open_fh %config $conf_dir $conf_file /; +use SBO::Lib qw/ usage_error script_error $tempdir open_read open_fh %config $conf_dir $conf_file show_version /; use File::Basename; use Getopt::Long; use File::Copy; diff --git a/sbofind b/sbofind @@ -13,7 +13,7 @@ use 5.16.0; use strict; use warnings FATAL => 'all'; -use SBO::Lib qw/ slackbuilds_or_fetch script_error open_read get_build_queue %config $slackbuilds_txt $repo_path /; +use SBO::Lib qw/ slackbuilds_or_fetch script_error open_read get_build_queue %config $slackbuilds_txt $repo_path show_version /; use File::Basename; use Getopt::Long qw(:config bundling); diff --git a/sboinstall b/sboinstall @@ -13,7 +13,7 @@ use 5.16.0; use strict; use warnings FATAL => 'all'; -use SBO::Lib qw/ usage_error slackbuilds_or_fetch get_build_queue merge_queues get_sbo_locations get_installed_packages get_inst_names get_installed_cpans get_sbo_location user_prompt process_sbos print_failures %config get_arch /; +use SBO::Lib qw/ usage_error slackbuilds_or_fetch get_build_queue merge_queues get_sbo_locations get_installed_packages get_inst_names get_installed_cpans get_sbo_location user_prompt process_sbos print_failures %config get_arch show_version /; use Getopt::Long qw(:config bundling); use File::Basename; diff --git a/sboremove b/sboremove @@ -13,7 +13,7 @@ use 5.16.0; use strict; use warnings FATAL => 'all'; -use SBO::Lib qw/ get_inst_names get_installed_packages get_sbo_location get_build_queue merge_queues get_requires get_readme_contents get_sbo_location /; +use SBO::Lib qw/ get_inst_names get_installed_packages get_sbo_location get_build_queue merge_queues get_requires get_readme_contents get_sbo_location show_version /; use Getopt::Long qw(:config bundling); use File::Basename; diff --git a/sbosnap b/sbosnap @@ -13,7 +13,7 @@ use 5.16.0; use strict; use warnings FATAL => 'all'; -use SBO::Lib qw/ fetch_tree update_tree %config /; +use SBO::Lib qw/ fetch_tree update_tree %config show_version /; use File::Basename; use Getopt::Long; diff --git a/sboupgrade b/sboupgrade @@ -13,7 +13,7 @@ use 5.16.0; use strict; use warnings FATAL => 'all'; -use SBO::Lib qw/ get_available_updates usage_error slackbuilds_or_fetch uniq get_sbo_location get_inst_names get_installed_packages get_build_queue get_sbo_locations merge_queues user_prompt process_sbos print_failures %config /; +use SBO::Lib qw/ get_available_updates usage_error slackbuilds_or_fetch uniq get_sbo_location get_inst_names get_installed_packages get_build_queue get_sbo_locations merge_queues user_prompt process_sbos print_failures %config show_version /; use Getopt::Long qw(:config bundling); use File::Basename; use File::Copy;