summaryrefslogtreecommitdiff
path: root/system/the_silver_searcher/the_silver_searcher.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2014-07-28 18:21:44 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-03 16:32:16 +0700
commit5f8df11127edbf3669d7a567ee36d1ec699cf805 (patch)
treeae00445b59f291d6be963983fd58616f8d520f42 /system/the_silver_searcher/the_silver_searcher.SlackBuild
parent67622bebc3c1c4c5ab39fd883f77eddb70ab7244 (diff)
downloadslackbuilds-5f8df11127edbf3669d7a567ee36d1ec699cf805.tar.gz
system/the_silver_searcher: Updated for version 0.24.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'system/the_silver_searcher/the_silver_searcher.SlackBuild')
-rw-r--r--system/the_silver_searcher/the_silver_searcher.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/the_silver_searcher/the_silver_searcher.SlackBuild b/system/the_silver_searcher/the_silver_searcher.SlackBuild
index c866f6475c..782ac3d847 100644
--- a/system/the_silver_searcher/the_silver_searcher.SlackBuild
+++ b/system/the_silver_searcher/the_silver_searcher.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=the_silver_searcher
-VERSION=${VERSION:-0.23.0}
+VERSION=${VERSION:-0.24.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,11 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-if [ -e $CWD/$VERSION.tar.gz ]; then
- tar xvf $CWD/$VERSION.tar.gz
-else
- tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-fi
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \