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

Justin Kromlinger hashworks at gemini.archlinux.org
Sat Apr 2 14:10:53 UTC 2022


    Date: Saturday, April 2, 2022 @ 14:10:53
  Author: hashworks
Revision: 1180808

Fix .gifs in docs

Modified:
  trivy/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-02 14:08:34 UTC (rev 1180807)
+++ PKGBUILD	2022-04-02 14:10:53 UTC (rev 1180808)
@@ -20,7 +20,7 @@
   cd ${pkgname}-${pkgver}
 
   find docs -type f -name "*.md" \
-    -exec sed "s|\(../\)*imgs/\(.*\.png\)|${url}/raw/main/docs/imgs/\2|g" -i {} \;
+    -exec sed "s|\(../\)*imgs/\(.*\.[a-z]\{3\}\)|${url}/raw/main/docs/imgs/\2|g" -i {} \;
 
   rm -Rf docs/{build,imgs}
 }



More information about the arch-commits mailing list