Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
process SUPPORTED file before adding it
Browse files Browse the repository at this point in the history
fixes FS#75894

git-svn-id: file:///srv/repos/svn-packages/svn@456350 eb2447ed-0c53-47e4-bac8-5bc4a241df78
  • Loading branch information
freswa authored and svntogit committed Sep 17, 2022
1 parent d6f2e1f commit b09829c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions trunk/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,9 @@ package_glibc() {
sed -e '1,3d' -e 's|/| |g' -e 's|\\| |g' -e 's|^|#|g' \
"${srcdir}"/glibc/localedata/SUPPORTED >> "${pkgdir}"/etc/locale.gen

# Add SUPPORTED file
install -m644 "${srcdir}"/glibc/localedata/SUPPORTED "${pkgdir}"/usr/share/i18n/SUPPORTED
# Add SUPPORTED file to pkg
sed -e '1,3d' -e 's|/| |g' -e 's| \\||g' \
"${srcdir}"/glibc/localedata/SUPPORTED > "${pkgdir}"/usr/share/i18n/SUPPORTED

# install C.UTF-8 so that it is always available
install -dm755 "${pkgdir}"/usr/lib/locale
Expand Down

0 comments on commit b09829c

Please sign in to comment.