pkgtools

binary package manager for zandra
git clone git://zandra.org/pkgtools
Log | Files | Refs | README | LICENSE

commit 847c35647d0dc57ed2835b511cbfcc7ed5fd9cbb
parent ff8a29d72b4ad08b5669fbee59fc42ce6199a872
Author: Ben O'Neill <ben@benoneill.xyz>
Date:   Sat, 13 Jun 2020 07:38:51 -0400

Make arch and release variables not constant

Diffstat:
Msearchpkg | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/searchpkg b/searchpkg @@ -3,8 +3,8 @@ # To list all packages in the mirror try searchpkg "\.tgz$" # To download packages try searchpkg pkg... | fetchpkg -release='0.0-testing' -arch='x86_64' +[ -z "$release" ] && release='0.0-testing' +[ -z "$arch" ] && arch='x86_64' mirror="http://zandra.xyz/pkg/$release/$arch" usage() {