Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/db-update12
-rwxr-xr-xbin/why-dont-you4
2 files changed, 8 insertions, 8 deletions
diff --git a/bin/db-update b/bin/db-update
index 18592fd..98a324f 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -5,8 +5,8 @@
# to the respective stable repository
# 1] Condition for moving a package A from staging to testing is that:
-# a) nothing on the build-list depends on A and
-# b) no done package B which is not being moved depends on A
+# a) nothing on the build-list needs A and
+# b) no done package B which is not being moved needs A
# TODO:
@@ -518,16 +518,16 @@ while [ -s "${tmp_dir}/new-keep-packages" ]; do
sed '
s|^|'"${work_dir}"'/package-infos/|
- s|$|.depends|
+ s|$|.needs|
' "${tmp_dir}/keep-packages" | \
xargs -r grep -HF '' | \
sed '
s|^.*/||
- s|\.depends:| |
+ s|\.needs:| |
' | \
sort -u | \
sort -k2,2 > \
- "${tmp_dir}/keep-packages.depends"
+ "${tmp_dir}/keep-packages.needs"
sed '
s|^|'"${work_dir}"'/package-infos/|
@@ -544,7 +544,7 @@ while [ -s "${tmp_dir}/new-keep-packages" ]; do
join -j 2 -o 1.1 \
"${tmp_dir}/done-packages.builds" \
- "${tmp_dir}/keep-packages.depends" | \
+ "${tmp_dir}/keep-packages.needs" | \
sort -u > \
"${tmp_dir}/new-keep-packages"
diff --git a/bin/why-dont-you b/bin/why-dont-you
index 593ad1b..64f914c 100755
--- a/bin/why-dont-you
+++ b/bin/why-dont-you
@@ -67,10 +67,10 @@ case "${action}" in
fi
dependent_packages=$(
- grep -lxF "${pkg}" "${work_dir}/package-infos/"*".depends" | \
+ grep -lxF "${pkg}" "${work_dir}/package-infos/"*".needs" | \
sed '
s|^.*/||
- s|\.depends$||
+ s|\.needs$||
'
)