[game-data-packager] 03/13: quake: simplify cleanup
Simon McVittie
smcv at debian.org
Sun Jan 4 22:36:20 UTC 2015
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch master
in repository game-data-packager.
commit 9920a5af645e7e0019efd9829f33bce0f9acebde
Author: Simon McVittie <smcv at debian.org>
Date: Sun Jan 4 19:29:39 2015 +0000
quake: simplify cleanup
---
supported/quake | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/supported/quake b/supported/quake
index 3c09a06..72172bd 100644
--- a/supported/quake
+++ b/supported/quake
@@ -387,12 +387,9 @@ common_method() {
fi
# clean up
- if [ -d "$WORKDIR/${folder}" ] ; then
- rm -rf "$WORKDIR/${folder}"
- elif [ -d "$WORKDIR/`echo "${folder}" | tr a-z A-Z`" ] ; then
- # Remove uppercase version of our directory
- rm -rf "$WORKDIR/`echo "${folder}" | tr a-z A-Z`"
- fi
+ rm -rf "$WORKDIR/${folder}"
+ # Remove uppercase version of our directory
+ rm -rf "$WORKDIR/`echo "${folder}" | tr a-z A-Z`"
rm -f "$WORKDIR/pak0.pak"
rm -f "$WORKDIR/pak1.pak"
rm -f "$WORKDIR/quake106.zip"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git
More information about the Pkg-games-commits
mailing list