diff options
-rw-r--r-- | academic/sword-data-kjv/sword-data-kjv.SlackBuild | 9 | ||||
-rw-r--r-- | academic/sword-data-kjv/sword-data-kjv.info | 4 |
2 files changed, 10 insertions, 3 deletions
diff --git a/academic/sword-data-kjv/sword-data-kjv.SlackBuild b/academic/sword-data-kjv/sword-data-kjv.SlackBuild index a990cca9ca398..8ac1ed48b082d 100644 --- a/academic/sword-data-kjv/sword-data-kjv.SlackBuild +++ b/academic/sword-data-kjv/sword-data-kjv.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=sword-data-kjv -VERSION=${VERSION:-1.7.0} +VERSION=${VERSION:-1.7.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -46,6 +46,13 @@ rm -rf $PRGNAM-$VERSION DATADEST="/usr/shared/sword/" if [ -e /etc/sword.conf ]; then DATADEST=`cat /etc/sword.conf|grep DataPath|awk -F"=" '{print $2}'` + if [ "x$DATADEST" = "x" ]||[ "x$DATDEST" = "x/" ]; then + #this should not happen, give message and stop build + #it doesn't stop deliberately malicious configuration, but at least + #should catch a simple config file error. + echo "invalid data path in /etc/sword.conf" >/dev/stderr + exit 1 + fi fi mkdir -p $PKG${DATADEST} diff --git a/academic/sword-data-kjv/sword-data-kjv.info b/academic/sword-data-kjv/sword-data-kjv.info index 6d82a298485e5..5fa790d7f0f8b 100644 --- a/academic/sword-data-kjv/sword-data-kjv.info +++ b/academic/sword-data-kjv/sword-data-kjv.info @@ -1,10 +1,10 @@ PRGNAM="sword-data-kjv" -VERSION="1.7" +VERSION="1.7.4" HOMEPAGE="http://www.crosswire.org/sword/modules/" DOWNLOAD="http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/KJV.zip \ http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/StrongsGreek.zip \ http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/StrongsHebrew.zip" -MD5SUM="455caa8e57e06e6b97856ed30150b36b \ +MD5SUM="64ff3295c5ca85d816c50af055eb4e64 \ 2acde501e6a33e84feeeaa62f8e53d89 \ 3cbbc69d7410efc9d1d7f6f6b30e3415" DOWNLOAD_x86_64="" |