mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-15 05:45:43 +00:00
pveupdate: reword comment slightly and adapt text width
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
1a3e2e9f5d
commit
4314ba846b
@ -51,8 +51,7 @@ if (my $err = $@) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
my $info = eval { PVE::API2::Subscription::read_etc_subscription() };
|
my $info = eval { PVE::API2::Subscription::read_etc_subscription() };
|
||||||
# We assume that users with subscriptions want informations
|
# Assume that users with subscriptions want informations about new packages.
|
||||||
# about new packages.
|
|
||||||
my $notify = ($info && $info->{status} eq 'active') ? 1 : 0;
|
my $notify = ($info && $info->{status} eq 'active') ? 1 : 0;
|
||||||
eval { PVE::API2::APT->update_database({ node => $nodename, notify => $notify, quiet => 1 }); };
|
eval { PVE::API2::APT->update_database({ node => $nodename, notify => $notify, quiet => 1 }); };
|
||||||
if (my $err = $@) {
|
if (my $err = $@) {
|
||||||
|
Loading…
Reference in New Issue
Block a user