[Piuparts-commits] [piuparts] 13/16: post_setup_force-unsafe-io: skip while creating the tarball

Holger Levsen holger at layer-acht.org
Thu Apr 13 15:04:52 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 87578dfceb233e07dd970524161a53b25de2880d
Author: Andreas Beckmann <anbe at debian.org>
Date:   Tue Apr 11 15:58:09 2017 +0200

    post_setup_force-unsafe-io: skip while creating the tarball
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 custom-scripts/scripts/post_setup_force-unsafe-io | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/custom-scripts/scripts/post_setup_force-unsafe-io b/custom-scripts/scripts/post_setup_force-unsafe-io
index 558dc72..8a86ce9 100755
--- a/custom-scripts/scripts/post_setup_force-unsafe-io
+++ b/custom-scripts/scripts/post_setup_force-unsafe-io
@@ -1,6 +1,13 @@
 #!/bin/sh
 set -e
 
+case ${PIUPARTS_OBJECTS%%=*} in
+	TARBALL)
+		# skip while creating the tarball
+		exit 0
+		;;
+esac
+
 if [ ! -f /etc/dpkg/dpkg.cfg.d/piuparts-force-unsafe-io ]
 then
 	if dpkg --force-help | grep -q unsafe-io

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list