Bugfix: Search right directory for source packages
This commit is contained in:
parent
da9329257c
commit
3e36f05df8
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ task_update() {
|
||||||
package_count_before="$(find ${dir_repo} -type f -name "*.deb" | wc -l)";
|
package_count_before="$(find ${dir_repo} -type f -name "*.deb" | wc -l)";
|
||||||
export -f _symlink_deb;
|
export -f _symlink_deb;
|
||||||
cd "${dir_repo}" || exit 2;
|
cd "${dir_repo}" || exit 2;
|
||||||
find "${dir_sources}" -type f -name "*.deb" -print0 | xargs -n1 -I{} bash -c '_symlink_deb "{}"';
|
find "../${dir_sources}" -type f -name "*.deb" -print0 | xargs -n1 -I{} bash -c '_symlink_deb "{}"';
|
||||||
exit_code="$?";
|
exit_code="$?";
|
||||||
cd - || exit 2;
|
cd - || exit 2;
|
||||||
package_count_after="$(find ${dir_repo} -type f -name "*.deb" | wc -l)";
|
package_count_after="$(find ${dir_repo} -type f -name "*.deb" | wc -l)";
|
||||||
|
|
Loading…
Reference in a new issue