Skip to content

Commit

Permalink
Remove communtiy and galaxy repos from Arch and Artix (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
camperboy1000 authored Jul 10, 2023
1 parent dcf016b commit 7c7264c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 15 deletions.
4 changes: 1 addition & 3 deletions src/slash-bedrock/share/brl-fetch/distros/arch
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,12 @@ fetch() {
step "Downloading package information database"
download "${target_mirror}/core/os/${distro_arch}/core.db.tar.gz" "${bootstrap_dir}/core.db.tar.gz"
download "${target_mirror}/extra/os/${distro_arch}/extra.db.tar.gz" "${bootstrap_dir}/extra.db.tar.gz"
download "${target_mirror}/community/os/${distro_arch}/community.db.tar.gz" "${bootstrap_dir}/community.db.tar.gz"

step "Decompressing package information database"
mkdir -p "${bootstrap_dir}/pacmandb/core" "${bootstrap_dir}/pacmandb/extra" "${bootstrap_dir}/pacmandb/community"
mkdir -p "${bootstrap_dir}/pacmandb/core" "${bootstrap_dir}/pacmandb/extra"
(
tar -xv -f "${bootstrap_dir}/core.db.tar.gz" -C "${bootstrap_dir}/pacmandb/core/"
tar -xv -f "${bootstrap_dir}/extra.db.tar.gz" -C "${bootstrap_dir}/pacmandb/extra/"
tar -xv -f "${bootstrap_dir}/community.db.tar.gz" -C "${bootstrap_dir}/pacmandb/community/"
) | awk 'NR%100==0' | progress_unknown

step "Converting distro package information database to brl format"
Expand Down
4 changes: 1 addition & 3 deletions src/slash-bedrock/share/brl-fetch/distros/arch-32
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,12 @@ fetch() {
step "Downloading package information database"
download "${target_mirror}/${distro_arch}/core/core.db.tar.gz" "${bootstrap_dir}/core.db.tar.gz"
download "${target_mirror}/${distro_arch}/extra/extra.db.tar.gz" "${bootstrap_dir}/extra.db.tar.gz"
download "${target_mirror}/${distro_arch}/community/community.db.tar.gz" "${bootstrap_dir}/community.db.tar.gz"

step "Decompressing package information database"
mkdir -p "${bootstrap_dir}/pacmandb/core" "${bootstrap_dir}/pacmandb/extra" "${bootstrap_dir}/pacmandb/community"
mkdir -p "${bootstrap_dir}/pacmandb/core" "${bootstrap_dir}/pacmandb/extra"
(
tar -xv -f "${bootstrap_dir}/core.db.tar.gz" -C "${bootstrap_dir}/pacmandb/core/"
tar -xv -f "${bootstrap_dir}/extra.db.tar.gz" -C "${bootstrap_dir}/pacmandb/extra/"
tar -xv -f "${bootstrap_dir}/community.db.tar.gz" -C "${bootstrap_dir}/pacmandb/community/"
) | awk 'NR%100==0' | progress_unknown

step "Converting distro package information database to brl format"
Expand Down
4 changes: 1 addition & 3 deletions src/slash-bedrock/share/brl-fetch/distros/arch-arm
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,12 @@ fetch() {
step "Downloading package information database"
download "${target_mirror}/${distro_arch}/core/core.db.tar.gz" "${bootstrap_dir}/core.db.tar.gz"
download "${target_mirror}/${distro_arch}/extra/extra.db.tar.gz" "${bootstrap_dir}/extra.db.tar.gz"
download "${target_mirror}/${distro_arch}/community/community.db.tar.gz" "${bootstrap_dir}/community.db.tar.gz"

step "Decompressing package information database"
mkdir -p "${bootstrap_dir}/pacmandb/core" "${bootstrap_dir}/pacmandb/extra" "${bootstrap_dir}/pacmandb/community"
mkdir -p "${bootstrap_dir}/pacmandb/core" "${bootstrap_dir}/pacmandb/extra"
(
tar -xv -f "${bootstrap_dir}/core.db.tar.gz" -C "${bootstrap_dir}/pacmandb/core/"
tar -xv -f "${bootstrap_dir}/extra.db.tar.gz" -C "${bootstrap_dir}/pacmandb/extra/"
tar -xv -f "${bootstrap_dir}/community.db.tar.gz" -C "${bootstrap_dir}/pacmandb/community/"
) | awk 'NR%100==0' | progress_unknown

step "Converting distro package information database to brl format"
Expand Down
4 changes: 1 addition & 3 deletions src/slash-bedrock/share/brl-fetch/distros/artix
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,12 @@ fetch() {
step "Downloading package information database"
download "${target_mirror}/system/os/${distro_arch}/system.db.tar.gz" "${bootstrap_dir}/system.db.tar.gz"
download "${target_mirror}/world/os/${distro_arch}/world.db.tar.gz" "${bootstrap_dir}/world.db.tar.gz"
download "${target_mirror}/galaxy/os/${distro_arch}/galaxy.db.tar.gz" "${bootstrap_dir}/galaxy.db.tar.gz"

step "Decompressing package information database"
mkdir -p "${bootstrap_dir}/pacmandb/system" "${bootstrap_dir}/pacmandb/world" "${bootstrap_dir}/pacmandb/galaxy"
mkdir -p "${bootstrap_dir}/pacmandb/system" "${bootstrap_dir}/pacmandb/world"
(
tar -xv -f "${bootstrap_dir}/system.db.tar.gz" -C "${bootstrap_dir}/pacmandb/system/"
tar -xv -f "${bootstrap_dir}/world.db.tar.gz" -C "${bootstrap_dir}/pacmandb/world/"
tar -xv -f "${bootstrap_dir}/galaxy.db.tar.gz" -C "${bootstrap_dir}/pacmandb/galaxy/"
) | awk 'NR%100==0' | progress_unknown

step "Converting distro package information database to brl format"
Expand Down
4 changes: 1 addition & 3 deletions src/slash-bedrock/share/brl-fetch/distros/artix-s6
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,12 @@ fetch() {
step "Downloading package information database"
download "${target_mirror}/system/os/${distro_arch}/system.db.tar.gz" "${bootstrap_dir}/system.db.tar.gz"
download "${target_mirror}/world/os/${distro_arch}/world.db.tar.gz" "${bootstrap_dir}/world.db.tar.gz"
download "${target_mirror}/galaxy/os/${distro_arch}/galaxy.db.tar.gz" "${bootstrap_dir}/galaxy.db.tar.gz"

step "Decompressing package information database"
mkdir -p "${bootstrap_dir}/pacmandb/system" "${bootstrap_dir}/pacmandb/world" "${bootstrap_dir}/pacmandb/galaxy"
mkdir -p "${bootstrap_dir}/pacmandb/system" "${bootstrap_dir}/pacmandb/world"
(
tar -xv -f "${bootstrap_dir}/system.db.tar.gz" -C "${bootstrap_dir}/pacmandb/system/"
tar -xv -f "${bootstrap_dir}/world.db.tar.gz" -C "${bootstrap_dir}/pacmandb/world/"
tar -xv -f "${bootstrap_dir}/galaxy.db.tar.gz" -C "${bootstrap_dir}/pacmandb/galaxy/"
) | awk 'NR%100==0' | progress_unknown

step "Converting distro package information database to brl format"
Expand Down

0 comments on commit 7c7264c

Please sign in to comment.