[arch-commits] Commit in libreoffice-fresh-i18n/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Wed Mar 21 16:13:44 UTC 2018


    Date: Wednesday, March 21, 2018 @ 16:13:43
  Author: andyrtr
Revision: 319756

don't use capital letters in pkgname - FS#50534

Modified:
  libreoffice-fresh-i18n/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-21 15:54:21 UTC (rev 319755)
+++ PKGBUILD	2018-03-21 16:13:43 UTC (rev 319756)
@@ -524,7 +524,11 @@
   declare -a "_langa=($_lang)"
   _locale="${_langa[0]}"
   _helppack="${_langa[2]}"
-  _pkgname=libreoffice-fresh-$_locale
+  _pkgname=libreoffice-fresh-${_locale,,}
+  if [[ $_locale != ${_locale,,} ]]; then
+    replaces=libreoffice-fresh-$_locale
+  fi
+ 
 
   pkgname+=($_pkgname)
   source+=(${_url}/LibreOffice_${_oodlver}_Linux_x86-64_rpm_langpack_${_locale}.tar.gz{,.asc})



More information about the arch-commits mailing list