aboutsummaryrefslogtreecommitdiff
path: root/academic/Data2FCS
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-28 20:45:22 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-01 19:35:46 +0700
commit2ef441d406d7328e3c7a0862a384180a5f478ad6 (patch)
tree85d595b4c3a7acc4b13e65d490ac7536c60f3ef3 /academic/Data2FCS
parent69612f524ccfe9e43e53a92abfc8b5a4b80fa1e1 (diff)
academic/Data2FCS: Handle url-encoded filenames.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/Data2FCS')
-rw-r--r--academic/Data2FCS/Data2FCS.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/academic/Data2FCS/Data2FCS.SlackBuild b/academic/Data2FCS/Data2FCS.SlackBuild
index 46937a2e2635..eb366a5fb865 100644
--- a/academic/Data2FCS/Data2FCS.SlackBuild
+++ b/academic/Data2FCS/Data2FCS.SlackBuild
@@ -57,7 +57,7 @@ cd $PRGNAM-$VERSION
# This is Data2FCS
mkdir $PRGNAM
cd $PRGNAM
-unzip $CWD/${PRGNAM}\ ${VERSION}.zip
+unzip $CWD/${PRGNAM}\ ${VERSION}.zip || unzip $CWD/${PRGNAM}%20${VERSION}.zip
install -D -m755 $PRGNAM.jar $PKG/usr/bin/$PRGNAM.jar
# Rename these, so we include them as documentation
@@ -68,7 +68,7 @@ cd ..
# This is FCS2Data
mkdir $PRGADD
cd $PRGADD
-unzip $CWD/${PRGADD}\ ${VERSION}.zip
+unzip $CWD/${PRGADD}\ ${VERSION}.zip || unzip $CWD/${PRGADD}%20${VERSION}.zip
install -D -m755 $PRGADD.jar $PKG/usr/bin/$PRGADD.jar
# Rename these, so we include them as documentation, too