apt: unify match-arm for ceph sources.list location

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-09-04 17:12:31 +02:00
parent ae3c04a76b
commit 767582a2eb

View File

@ -150,13 +150,9 @@ impl APTRepositoryHandle {
}
APTRepositoryHandle::NoSubscription => "/etc/apt/sources.list".to_string(),
APTRepositoryHandle::Test => "/etc/apt/sources.list".to_string(),
APTRepositoryHandle::CephQuincyEnterprise => {
"/etc/apt/sources.list.d/ceph.list".to_string()
}
APTRepositoryHandle::CephQuincyNoSubscription => {
"/etc/apt/sources.list.d/ceph.list".to_string()
}
APTRepositoryHandle::CephQuincyTest => "/etc/apt/sources.list.d/ceph.list".to_string(),
APTRepositoryHandle::CephQuincyEnterprise
| APTRepositoryHandle::CephQuincyNoSubscription
| APTRepositoryHandle::CephQuincyTest => "/etc/apt/sources.list.d/ceph.list".to_string(),
}
}