summaryrefslogtreecommitdiff
path: root/system/the_silver_searcher/the_silver_searcher.SlackBuild
diff options
context:
space:
mode:
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 . \