[arch-commits] Commit in s-nail/trunk (PKGBUILD)

Gaëtan Bisson bisson at archlinux.org
Thu Oct 26 19:51:41 UTC 2017


    Date: Thursday, October 26, 2017 @ 19:51:40
  Author: bisson
Revision: 308518

remove locale hack, do not run tests under makechrootpkg

Modified:
  s-nail/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-26 18:59:21 UTC (rev 308517)
+++ PKGBUILD	2017-10-26 19:51:40 UTC (rev 308518)
@@ -41,10 +41,9 @@
 
 check() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
-	sudo sed '/en_US.UTF-8/s/^#//' -i /etc/locale.gen
-	sudo locale-gen
-
-	make test
+	if [[ ! -e /.arch-chroot ]]; then
+		make test
+	fi
 }
 
 package() {



More information about the arch-commits mailing list