forked from kiss-community/kiss
kiss: tarball must be full path. Closes #149'
This commit is contained in:
parent
970301805c
commit
16e40cb0fa
2
kiss
2
kiss
@ -1185,7 +1185,7 @@ pkg_install() {
|
|||||||
|
|
||||||
# Install can also take the full path to a tarball.
|
# Install can also take the full path to a tarball.
|
||||||
# We don't need to check the repository if this is the case.
|
# We don't need to check the repository if this is the case.
|
||||||
if [ -f "$1" ] && [ -z "${1%%*.tar.*}" ] ; then
|
if [ -f "$1" ] && [ -z "${1%%*.tar.*}" ] && [ -z "${1##*/*}" ]; then
|
||||||
tar_file=$1 pkg_name=${1##*/} pkg_name=${pkg_name%#*}
|
tar_file=$1 pkg_name=${1##*/} pkg_name=${pkg_name%#*}
|
||||||
|
|
||||||
elif pkg_cache "$1" 2>/dev/null; then
|
elif pkg_cache "$1" 2>/dev/null; then
|
||||||
|
Loading…
Reference in New Issue
Block a user