diff options
author | Mario Antunes <mariolpantunes@gmail.com> | 2023-08-26 19:21:20 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-08-26 19:07:04 +0700 |
commit | 66810cdacd2fae5854d7602b9b309a7cd2bcc303 (patch) | |
tree | 58230740c6e46d3c44e55e9ff67f7bda0ea4bbab /system/apache-cassandra/apache-cassandra.SlackBuild | |
parent | 778d8c42ad43db14425aa0591323060cab40af2f (diff) |
system/apache-cassandra: Updated for version 4.1.3.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/apache-cassandra/apache-cassandra.SlackBuild')
-rw-r--r-- | system/apache-cassandra/apache-cassandra.SlackBuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/system/apache-cassandra/apache-cassandra.SlackBuild b/system/apache-cassandra/apache-cassandra.SlackBuild index 3eddc2ba7bfe1..e4fe2c0a461b0 100644 --- a/system/apache-cassandra/apache-cassandra.SlackBuild +++ b/system/apache-cassandra/apache-cassandra.SlackBuild @@ -24,19 +24,18 @@ # based on apache-tomcat.SlackBuild by Heinz Wiesinger and Vincent Batts +# 20230807 bkw: Modified by SlackBuilds.org, BUILD=2: fix csh profile script. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM="apache-cassandra" -VERSION=${VERSION:-4.0.1} +VERSION=${VERSION:-4.1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} ARCH="noarch" -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -77,10 +76,10 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat << EOF > $PKG/etc/profile.d/$PRGNAM.csh #!/bin/csh -setenv CASSANDRA_HOME="/opt/$PRGNAM" -setenv CASSANDRA_CONF="\$CASSANDRA_HOME/conf" -setenv CASSANDRA_INCLUDE="\$CASSANDRA_HOME/tools/bin/cassandra.in.sh" -setenv PATH="\$PATH:\$CASSANDRA_HOME/bin" +setenv CASSANDRA_HOME "/opt/$PRGNAM" +setenv CASSANDRA_CONF "\${CASSANDRA_HOME}/conf" +setenv CASSANDRA_INCLUDE "\${CASSANDRA_HOME}/tools/bin/cassandra.in.sh" +setenv PATH "\${PATH}:\${CASSANDRA_HOME}/bin" EOF cat << EOF > $PKG/etc/profile.d/$PRGNAM.sh |