commit 1113ae57706b1ad2345c96c3c3a40a09b8553f01
parent 7216124e900099b217b63da6b9f1d7ddabcb1067
Author: Dylan Araps <dylan.araps@gmail.com>
Date: Thu, 20 Feb 2020 00:46:12 +0200
kiss: Remove unneeded variable
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/kiss b/kiss
@@ -902,12 +902,10 @@ pkg_install() {
read -r version release < "$(pkg_find "$1")/version"
# Construct the name of the package tarball.
- tar_name=$1\#$version-$release.tar.gz
+ tar_file=$bin_dir/$1\#$version-$release.tar.gz
- [ -f "$bin_dir/$tar_name" ] ||
+ [ -f "$tar_file" ] ||
die "Package '$1' has not been built, run 'kiss build $1'"
-
- tar_file=$bin_dir/$tar_name
fi
# Figure out which package the tar-ball installs by checking for