diff options
author | Thomas Orgis | 2020-08-29 20:30:10 +0200 |
---|---|---|
committer | Thomas Orgis | 2020-08-30 13:09:17 +0200 |
commit | d6047cad5f5b0fb79904351e3c7b39749a5c2d96 (patch) | |
tree | f9206d37dbc454c37a5a500607239d9116efd411 | |
parent | 7d0958500164f707497f2dfb7880a32d38e9b944 (diff) |
foomatic-db: add -f to gzip to avoid asking for overwriting existing files
The cast can get really stuck if you have to answer for each compressed PPD.
-rw-r--r-- | printer/foomatic-db/HISTORY | 3 | ||||
-rwxr-xr-x | printer/foomatic-db/PRE_BUILD | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/printer/foomatic-db/HISTORY b/printer/foomatic-db/HISTORY index 207be6a93b..905538d58c 100644 --- a/printer/foomatic-db/HISTORY +++ b/printer/foomatic-db/HISTORY @@ -1,3 +1,6 @@ +2020-08-29 Thomas Orgis <sobukus@orgis.org> + * PRE_BUILD: add -f to gzip to avoid stalled install + 2006-09-21 Juuso Alasuutari <iuso@sourcemage.org> * DETAILS: [automated] Removed BUILD_API=2. diff --git a/printer/foomatic-db/PRE_BUILD b/printer/foomatic-db/PRE_BUILD index a940a1d8ba..3eb8b59f8c 100755 --- a/printer/foomatic-db/PRE_BUILD +++ b/printer/foomatic-db/PRE_BUILD @@ -2,4 +2,7 @@ CURRENT_RELEASE=`tar tzf ${SOURCE_CACHE}/foomatic-db-current.tar.gz | head -1 | mk_source_dir ${BUILD_DIRECTORY}/${CURRENT_RELEASE} && unpack_file && cd ${BUILD_DIRECTORY} && -ln -s ${CURRENT_RELEASE} foomatic-db-current +ln -s ${CURRENT_RELEASE} foomatic-db-current && +cd "$SOURCE_DIRECTORY" && +# Avoid stupid overwrite questions from gzip, halting the build. +sed -i -e 's:\(-exec \$(GZIP)\):\1 -f:' Makefile.in |