Skip to content

Commit

Permalink
Remove sed statement increasing pacman's ParallelDownloads in Arch im…
Browse files Browse the repository at this point in the history
…age.

Signed-off-by: Amber Connelly <[email protected]>
  • Loading branch information
ac-z committed Sep 11, 2024
1 parent 3779bbf commit d7e6849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/arch/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN pacman -Syu --needed --noconfirm - < extra-packages
RUN rm /extra-packages

# Enable man pages, enable progress bars, enable colors, enable up to 15 parallel downloads
RUN sed -i -e 's/NoProgressBar/#NoProgressBar/' -e 's/#Color/Color/' -e 's/NoExtract/#NoExtract/' -e 's/ParallelDownloads = 5/ParallelDownloads = 15/' /etc/pacman.conf
RUN sed -i -e 's/NoProgressBar/#NoProgressBar/' -e 's/#Color/Color/' -e 's/NoExtract/#NoExtract/' /etc/pacman.conf

# Force reinstall of packages which have man pages (shouldn't redownload any that were just upgraded)
RUN mkdir -p /usr/share/man && pacman -Qo /usr/share/man | awk '{print $5}' | xargs pacman -S --noconfirm man-db
Expand Down

0 comments on commit d7e6849

Please sign in to comment.