Commit 6ed59d2b authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm pack pantum: fix tar name handling (there are no spaces more)

parent 6bc45bf5
......@@ -5,7 +5,8 @@ RETURNTARNAME="$2"
. $(dirname $0)/common.sh
if echo "$TAR" | grep -q "Pantum Ubuntu Driver V.*.zip" ; then
# epm replaces spaces with - in downloaded files
if echo "$TAR" | grep -q "Pantum[ -]Ubuntu[ -]Driver[- ]V.*.zip" ; then
erc "$TAR" || fatal
elif echo "$TAR" | grep -q "Pantum%20Ubuntu%20Driver%20V.*.zip" ; then
erc "$TAR" || fatal
......@@ -19,7 +20,6 @@ else
fatal "We support only Pantum Ubuntu Driver V.*.zip"
fi
rm -v "$TAR"
# drop dirname with spaces
mv Pantum* PantumDriver || fatal
cd PantumDriver/Resources || fatal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment