Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
dbscripts
Commits
a962c64e
Verified
Commit
a962c64e
authored
Mar 14, 2021
by
Eli Schwartz
Committed by
Morten Linderud
Nov 20, 2021
Browse files
wip: debug: db-move
These are not debug prints, don't stick them in the same commit...
parent
9e1e5f1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
db-move
View file @
a962c64e
...
...
@@ -71,7 +71,9 @@ msg "Moving packages from [%s] to [%s]..." "$repo_from" "$repo_to"
for
arch
in
"
${
ARCHES
[@]
}
"
;
do
declare
-a
add_pkgs_
$arch
declare
-a
add_debug_pkgs_
$arch
declare
-a
remove_pkgs_
$arch
declare
-a
remove_debug_pkgs_
$arch
done
for
pkgbase
in
"
${
args
[@]
:2
}
"
;
do
tag_list
=
""
...
...
@@ -94,7 +96,9 @@ for pkgbase in "${args[@]:2}"; do
for
tarch
in
"
${
tarches
[@]
}
"
;
do
declare
-n
add_pkgs
=
"add_pkgs_
${
tarch
}
"
declare
-n
add_debug_pkgs
=
"add_debug_pkgs_
${
tarch
}
"
declare
-n
remove_pkgs
=
"remove_pkgs_
${
tarch
}
"
declare
-n
remove_debug_pkgs
=
"remove_debug_pkgs_
${
tarch
}
"
for
pkgname
in
"
${
pkgnames
[@]
}
"
;
do
pkgpath
=
$(
getpkgfile
"
${
ftppath_from
}
/
${
tarch
}
/
${
pkgname
}
-
${
pkgver
}
-
${
pkgarch
}
"
${
PKGEXTS
}
)
pkgfile
=
"
${
pkgpath
##*/
}
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment