diff options
author | Benjamin Denhartog | 2020-01-23 20:03:18 -0800 |
---|---|---|
committer | Benjamin Denhartog | 2020-01-23 20:41:46 -0800 |
commit | b2e36916ff7ff0457aebc820dbffbc03a60d2d4e (patch) | |
tree | aa1c1b2b2a46b9b411bf52838982d6d0fb2c9bbc | |
parent | 2c3b78123668f8f32b5a64181550eb702a5303f9 (diff) | |
download | aur-b2e36916ff7ff0457aebc820dbffbc03a60d2d4e.tar.gz |
chore(google-cloud-sdk): remove __pycache__ directories containing interpreter-compiled bytecode
These directories are created as a result of executing the bootstrap
script and should not be included in the package.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = google-cloud-sdk pkgdesc = A set of command-line tools for the Google Cloud Platform. Includes gcloud (with beta and alpha commands), gsutil, and bq. pkgver = 276.0.0 - pkgrel = 5 + pkgrel = 6 url = https://cloud.google.com/sdk/ arch = x86_64 license = Apache @@ -7,7 +7,7 @@ pkgname="google-cloud-sdk" pkgver=276.0.0 -pkgrel=5 +pkgrel=6 pkgdesc="A set of command-line tools for the Google Cloud Platform. Includes gcloud (with beta and alpha commands), gsutil, and bq." url="https://cloud.google.com/sdk/" license=("Apache") @@ -60,6 +60,7 @@ package() { echo "Cleaning up artifacts of the bootstrap script" rm -rf "${pkgdir}/opt/${pkgname}/.install/.backup" mkdir "${pkgdir}/opt/${pkgname}/.install/.backup" + find $pkgdir -name '__pycache__' -type d -exec rm -rf {} + echo "Setting up profile environment variables" install -Dm755 "${srcdir}/${source[1]}" \ |