aboutsummaryrefslogtreecommitdiff
path: root/sboremove
diff options
context:
space:
mode:
authorxocel <xocel@iquidus.org>2013-01-04 13:32:23 +1300
committerxocel <xocel@iquidus.org>2013-01-04 13:32:23 +1300
commitee8de79e1c248c52083d2c810e9ba9b70f8de851 (patch)
tree1c0e8fcb3fa03bb8d20fc9ee3dc8faca3a8efb91 /sboremove
parent9b5f214ff711cfba36d03c62dc3f9c8dbe5664c1 (diff)
downloadsbotools-ee8de79e1c248c52083d2c810e9ba9b70f8de851.tar.xz
Added get_installed_packages, modified get_inst_names to be compatible with new sub
Diffstat (limited to 'sboremove')
-rwxr-xr-xsboremove2
1 files changed, 1 insertions, 1 deletions
diff --git a/sboremove b/sboremove
index 7e4ddfc..14631d7 100755
--- a/sboremove
+++ b/sboremove
@@ -50,7 +50,7 @@ show_usage and exit 0 unless exists $ARGV[0];
# ensure that all provided arguments are valid sbos
my @sbos;
-my $inst_names = get_inst_names(get_installed_sbos);
+my $inst_names = get_inst_names(get_installed_packages, "SBO");
for my $sbo (@ARGV) {
if (get_sbo_location($sbo)) {
$sbo ~~ @$inst_names ? push @sbos, $sbo