Skip to content

Commit

Permalink
Merge pull request #360 from cpanel/jetbackup
Browse files Browse the repository at this point in the history
Update elevate for jetbackup to be aware of JetBackup 5.3
  • Loading branch information
toddr authored Jan 24, 2024
2 parents 8dfbf9e + e5bb00e commit b5f59e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion elevate-cpanel
Original file line number Diff line number Diff line change
Expand Up @@ -2948,7 +2948,7 @@ EOS

my $tier = $data->{tier};
my @packages = $data->{packages}->@*;
$self->ssystem( qw{/usr/bin/yum -y reinstall --disablerepo=* --enablerepo=jetapps}, "--enablerepo=$tier", @packages );
$self->ssystem( qw{/usr/bin/yum -y update --enablerepo=jetapps}, "--enablerepo=$tier", @packages );

return;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Elevate/Components/JetBackup.pm
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ sub post_leapp ($self) {

my $tier = $data->{tier};
my @packages = $data->{packages}->@*;
$self->ssystem( qw{/usr/bin/yum -y reinstall --disablerepo=* --enablerepo=jetapps}, "--enablerepo=$tier", @packages );
$self->ssystem( qw{/usr/bin/yum -y update --enablerepo=jetapps}, "--enablerepo=$tier", @packages );

return;
}
Expand Down

0 comments on commit b5f59e6

Please sign in to comment.