summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--printer/foomatic-db/HISTORY3
-rwxr-xr-xprinter/foomatic-db/PRE_BUILD5
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