aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib/SBO/App/Remove.pm
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2018-02-14 07:03:34 +0100
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2018-02-14 07:08:10 +0100
commit34508527cab3b61fca58aa9e3643a6c1da41c736 (patch)
treee40c42c7f6fc38b476ce65a9f52faf92aa763611 /SBO-Lib/lib/SBO/App/Remove.pm
parent896b0ac9531b0b3bc2f08989a84eed6733e4328a (diff)
downloadsbotools2-34508527cab3b61fca58aa9e3643a6c1da41c736.tar.xz
SBO::App: separate out new constructor
Diffstat (limited to 'SBO-Lib/lib/SBO/App/Remove.pm')
-rwxr-xr-xSBO-Lib/lib/SBO/App/Remove.pm10
1 files changed, 1 insertions, 9 deletions
diff --git a/SBO-Lib/lib/SBO/App/Remove.pm b/SBO-Lib/lib/SBO/App/Remove.pm
index 5dc575c..a660035 100755
--- a/SBO-Lib/lib/SBO/App/Remove.pm
+++ b/SBO-Lib/lib/SBO/App/Remove.pm
@@ -12,16 +12,8 @@ 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 prompt show_version in /;
use Getopt::Long qw(GetOptionsFromArray :config bundling);
-use File::Basename;
-sub new {
- my $class = shift;
-
- my $self = _parse_opts(@_);
- $self->{fname} = basename( (caller(0))[1] );
-
- return bless $self, $class;
-}
+use parent 'SBO::App';
sub _parse_opts {
my @ARGS = @_;