aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas C. Villa Real <lucasvr@gmail.com>2017-01-22 20:15:50 -0200
committerLucas C. Villa Real <lucasvr@gmail.com>2017-01-22 20:15:50 -0200
commitd958f49de43724274fe725e780ddfc089d01eb99 (patch)
tree58233ace7ebb4f8a4c9924db8255f757aa308007
parentc51493d3681cb787e06208fa83195a02b2d315bf (diff)
downloadThirdPartyInstallers-d958f49de43724274fe725e780ddfc089d01eb99.tar.xz
Fixes installation of packages when the user passes a filesystem path
rather than an URL to the RPM/DEB file.
-rwxr-xr-xbin/ThirdPartyInstaller2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ThirdPartyInstaller b/bin/ThirdPartyInstaller
index 7fd6b30..bcbf6d5 100755
--- a/bin/ThirdPartyInstaller
+++ b/bin/ThirdPartyInstaller
@@ -34,7 +34,7 @@ function fetch_package() {
${wget_cmd} -c "${inputfile}" -O "${goboTemp}/${filename}" || Die "Error downloading package."
echo "${goboTemp}/${filename}"
else
- echo "$inputfile"
+ echo "$(readlink -f $inputfile)"
fi
}