[arch-commits] Commit in puppet/trunk (PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Fri Feb 7 10:03:14 UTC 2020
Date: Friday, February 7, 2020 @ 10:03:14
Author: shibumi
Revision: 563711
upgpkg: puppet 6.12.0-2 Delete more unwanted files
Modified:
puppet/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-07 09:11:25 UTC (rev 563710)
+++ PKGBUILD 2020-02-07 10:03:14 UTC (rev 563711)
@@ -11,7 +11,7 @@
pkgname=puppet
pkgver=6.12.0
-pkgrel=1
+pkgrel=2
pkgdesc="Server automation framework and application"
arch=('any')
url="https://puppet.com/products/open-source-projects"
@@ -108,6 +108,7 @@
cd ..
install --directory "${pkgdir}/opt/puppetlabs/puppet/vendor_modules/"
mv *_core "${pkgdir}/opt/puppetlabs/puppet/vendor_modules/"
- # Search for unwanted .git directories and delete them
- find "${pkgdir}/opt/puppetlabs/puppet/vendor_modules/" -type d -name .git -exec rm -rf {} +
+ # Search for unwanted directories and files and delete them
+ find "${pkgdir}/opt/puppetlabs/puppet/vendor_modules/" -type d -name .git -or -name spec -exec rm -rf {} +
+ find "${pkgdir}/opt/puppetlabs/puppet/vendor_modules/" -name '.*' -exec rm -rf {} +
}
More information about the arch-commits
mailing list