1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 00:20:05 -07:00

kiss: Fix install bug.

This commit is contained in:
Dylan Araps 2019-07-20 01:15:01 +03:00
parent bbfa4e447c
commit 863c943350

1
kiss
View File

@ -674,7 +674,6 @@ pkg_install() {
# Figure out which package the tar-ball installs by checking for # Figure out which package the tar-ball installs by checking for
# a database entry inside the tar-ball. If no database entry exists, # a database entry inside the tar-ball. If no database entry exists,
# exit here as the tar-ball is *most likely* not a KISS package. # exit here as the tar-ball is *most likely* not a KISS package.
tar tf "$tar_file" 2>&1 | less
pkg_name=$(tar tf "$tar_file" | grep -x "\./$pkg_db/.*/version") || pkg_name=$(tar tf "$tar_file" | grep -x "\./$pkg_db/.*/version") ||
die "'${tar_file##*/}' is not a valid KISS package." die "'${tar_file##*/}' is not a valid KISS package."