commit 397170989e5467916ee140b246a61a4c2193826a
parent c234b1b30a9eb6f63733f34fbdd193d4a2176202
Author: ccx <root@dorje.wpr.cz>
Date: Fri, 18 Feb 2022 18:10:37 +0100
Work on bzr support
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/install b/install
@@ -170,6 +170,8 @@ install_bzr_repo(){
bzr_revid=$2
bzr_src=$3
+ require bzr_export
+
local cmd
for cmd in $bzr_dst/{command,bin,sbin}/*(N); do
s6-ln -s ../$cmd $sm_dst[.]/command/ || exit $?
@@ -182,7 +184,6 @@ install_bzr_repos(){
[[ -n "$name" && -n "$url" ]] || die "Malformed bzr/sources file"
(( $+repo_sources[$name] )) && die "Duplicate repo name: ${(qqq)name}"
repo_sources[$name]=$url
- repos+=( $name )
done
<./bzr/revisions while IFS=$'\t' read name revid; do
[[ -n "$name" && -n "$revid" ]] || die "Malformed revisions file"