aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEinhard Leichtfuß <alguien@respiranto.de>2017-10-24 23:45:47 +0200
committerEinhard Leichtfuß <alguien@respiranto.de>2017-10-24 23:45:47 +0200
commitb3240394041226ca217c49431bd69a5f65f8fbc1 (patch)
treea384f7f1818f169c751dca2f6e927b005b98e6f2
parentd09c629c5513a650e7dabf501f870a2c3031cb91 (diff)
Fix overwriting
-rwxr-xr-xauria.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/auria.sh b/auria.sh
index b74a5fa..9d52a90 100755
--- a/auria.sh
+++ b/auria.sh
@@ -57,6 +57,7 @@
# CONSIDER: (repo_deps) (space vs. newline) separated string
# CONSIDER: (print_localver,print_repover) removal
# CONSIDER: Use `local var=value' at beginning of functions.
+# CONSIDER: Remove repo_deps[].
# Q?: When to set retstr to ''.
# Q?: Is aur_itype[] needed?
# IDEA: (print_restriction) consider to use sed.
@@ -494,7 +495,7 @@ function resolve_deps
for dep in "${deps[@]}" "${makedeps[@]}"
do
#echo $dep
- aur_revdeps["$dep"]="$pkg"
+ aur_revdeps["$dep"]+=" $pkg "
resolve_deps "$dep" dep
done
fi