From 03d5c71d7952428d8f00b53571e31870f302005d Mon Sep 17 00:00:00 2001 From: Karol Krenski Date: Thu, 10 Mar 2005 10:42:58 +0000 Subject: [PATCH] - rm .${SPECFILE}_INSTALLED_PACKAGES if use -RB or -FRB (not -R only) Changed files: builder.sh -> 1.304 --- builder.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/builder.sh b/builder.sh index c1e6778..5b03543 100644 --- a/builder.sh +++ b/builder.sh @@ -1624,7 +1624,9 @@ case "$COMMAND" in "version" ) echo "$VERSION";; esac -test -f `pwd`/.${SPECFILE}_INSTALLED_PACKAGES && rm `pwd`/.${SPECFILE}_INSTALLED_PACKAGES +if [ -f `pwd`/.${SPECFILE}_INSTALLED_PACKAGES -a "$REMOVE_BUILD_REQUIRES" != "" ]; then + rm `pwd`/.${SPECFILE}_INSTALLED_PACKAGES +fi cd "$__PWD" # vi:syntax=sh:ts=3:sw=4 -- 2.44.0