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

Anatol Pomozov anatolik at archlinux.org
Thu May 28 19:09:28 UTC 2020


    Date: Thursday, May 28, 2020 @ 19:09:27
  Author: anatolik
Revision: 636632

FS#66813: do not add .git directory to the package

Modified:
  gitlab/trunk/PKGBUILD

----------+
 PKGBUILD |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-28 19:08:08 UTC (rev 636631)
+++ PKGBUILD	2020-05-28 19:09:27 UTC (rev 636632)
@@ -137,7 +137,7 @@
   install -dm750 -o 105 -g 105 "${pkgdir}${_etcdir}"
   install -dm755 "${pkgdir}/usr/share/doc/gitlab"
 
-  rm -r "${pkgdir}${_appdir}"/{builds,tmp,log}
+  rm -r "${pkgdir}${_appdir}"/{.git,builds,tmp,log}
 
   # TODO: Rails uses log dir under the rails root. Figure out if it is possible to configure rails
   # to log right to /var/log/gitlab


More information about the arch-commits mailing list