Commit d0a685a6 authored by Ram-Z's avatar Ram-Z

Fix listing old versions of pkgs

Bash is weird sometimes.
parent 31faa0c8
......@@ -193,7 +193,7 @@ rm_old_pkgs() {
newline
warning "There are old version of the following package(s) in the local repository:"
ls /chakra/_repo/*/${repeated[@]}*
(cd /chakra/_repo/$CHROOT/ && ls ${repeated[@]/%/*.xz})
newline
rm -i ${duplicates[@]}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment