forked from kiss-community/kiss
kiss: Clear install input error messages
This commit is contained in:
parent
284897af22
commit
5ffa51aa67
5
kiss
5
kiss
@ -1073,7 +1073,10 @@ pkg_install() {
|
|||||||
pkg_name=$1
|
pkg_name=$1
|
||||||
|
|
||||||
else
|
else
|
||||||
die "package has not been built, run 'kiss b pkg'"
|
case $1 in
|
||||||
|
*.tar.*) die "Tarball '$1' does not exist" ;;
|
||||||
|
*) die "Package '$1' has not yet been built"
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p "$tar_dir/$pkg_name"
|
mkdir -p "$tar_dir/$pkg_name"
|
||||||
|
Loading…
Reference in New Issue
Block a user