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

Alexander Rødseth arodseth at archlinux.org
Mon Aug 1 00:27:01 UTC 2016


    Date: Monday, August 1, 2016 @ 00:27:01
  Author: arodseth
Revision: 184729

Fix removal of conflicting files

Modified:
  cargo/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-01 00:03:02 UTC (rev 184728)
+++ PKGBUILD	2016-08-01 00:27:01 UTC (rev 184729)
@@ -34,11 +34,7 @@
 
   # Remove files that contains references to $srcdir or $pkgdir,
   # or that conflicts with the rust package.
-  find "$pkgdir" \
-    -name install.log \
-    -o -name manifest-cargo \
-    -o -name uninstall.sh \
-    -delete
+  rm -f "$pkgdir/usr/lib/rustlib/{install.log,manifest-cargo}"
 
   install -d "$pkgdir/usr/share/bash-completion/completions"
   mv "$pkgdir/usr/etc/bash_completion.d/cargo" \



More information about the arch-commits mailing list