summaryrefslogtreecommitdiff
path: root/system/kc/kc.SlackBuild
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2013-11-30 17:38:06 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-12-02 00:58:16 -0600
commit4e6e13b45b200e60ca53781884ef6ae151d870fb (patch)
tree2b19899e2cab4b72a654c9f553b2099536d73c15 /system/kc/kc.SlackBuild
parentaf0d1ed65709c55351e2610494fa076252b55829 (diff)
downloadslackbuilds-4e6e13b45b200e60ca53781884ef6ae151d870fb.tar.gz
system/kc: Updated for version 2.3.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/kc/kc.SlackBuild')
-rw-r--r--system/kc/kc.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/kc/kc.SlackBuild b/system/kc/kc.SlackBuild
index 47740a9d80..24df7cd815 100644
--- a/system/kc/kc.SlackBuild
+++ b/system/kc/kc.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=kc
-VERSION=2.3.0
+VERSION=2.3.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +61,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+[ -e $CWD/$VERSION.tar.gz ] && tar xvf $CWD/$VERSION.tar.gz
+[ -e $CWD/$PRGNAM-$VERSION.tar.gz ] && tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \