Skip to content

Commit

Permalink
- instead of /
Browse files Browse the repository at this point in the history
  • Loading branch information
Oddant1 committed Sep 13, 2024
1 parent 6d1a995 commit 52183ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/scripts/GetRepoInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ for (const repo of repos) {

const distro = split[split.length - 2];
const epoch = split[split.length - 1];
const release = `${distro}/${epoch}`;
const release = `${distro}-${epoch}`;

distros.add(distro);
epochs.add(epoch);
Expand Down Expand Up @@ -253,8 +253,8 @@ function sortEpochs(a, b) {
}

function sortReleases(a, b) {
const A = a.split("/");
const B = b.split("/");
const A = a.split("-");
const B = b.split("-");

const distroA = A[0];
const epochA = A[1];
Expand Down

0 comments on commit 52183ba

Please sign in to comment.