forked from mirrored-repos/manjaro-tools
util-pkg: remove unused vars
This commit is contained in:
parent
05f7cb479e
commit
3b886cd522
1 changed files with 1 additions and 2 deletions
|
@ -60,7 +60,6 @@ prepare_conf(){
|
||||||
}
|
}
|
||||||
|
|
||||||
pkgver_equal() {
|
pkgver_equal() {
|
||||||
local left right
|
|
||||||
|
|
||||||
if [[ $1 = *-* && $2 = *-* ]]; then
|
if [[ $1 = *-* && $2 = *-* ]]; then
|
||||||
# if both versions have a pkgrel, then they must be an exact match
|
# if both versions have a pkgrel, then they must be an exact match
|
||||||
|
@ -98,7 +97,7 @@ get_full_version() {
|
||||||
find_cached_package() {
|
find_cached_package() {
|
||||||
local searchdirs=("$PWD" "$PKGDEST") results=()
|
local searchdirs=("$PWD" "$PKGDEST") results=()
|
||||||
local targetname=$1 targetver=$2 targetarch=$3
|
local targetname=$1 targetver=$2 targetarch=$3
|
||||||
local dir pkg pkgbasename pkgparts name ver rel arch size r results
|
local dir pkg pkgbasename name ver rel arch r results
|
||||||
|
|
||||||
for dir in "${searchdirs[@]}"; do
|
for dir in "${searchdirs[@]}"; do
|
||||||
[[ -d $dir ]] || continue
|
[[ -d $dir ]] || continue
|
||||||
|
|
Loading…
Reference in a new issue