forked from artix/artools
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
46431619f2 | |||
12d2159c12 |
@@ -147,7 +147,7 @@ elif [[ $(cat "$working_dir/.artools") != ${CHROOTVERSION} ]]; then
|
|||||||
die "chroot '%s' is not at version %s. Please rebuild." "$working_dir" "${CHROOTVERSION}"
|
die "chroot '%s' is not at version %s. Please rebuild." "$working_dir" "${CHROOTVERSION}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sync_host_localtime
|
#sync_host_localtime
|
||||||
|
|
||||||
chroot_api_mount "${working_dir}" || die "failed to setup API filesystems in chroot %s" "${working_dir}"
|
chroot_api_mount "${working_dir}" || die "failed to setup API filesystems in chroot %s" "${working_dir}"
|
||||||
|
|
||||||
|
@@ -22,7 +22,7 @@ find_cached_pkgfile() {
|
|||||||
local search=${pkg%.*}
|
local search=${pkg%.*}
|
||||||
for dir in "${searchdirs[@]}"; do
|
for dir in "${searchdirs[@]}"; do
|
||||||
[[ -d $dir ]] || continue
|
[[ -d $dir ]] || continue
|
||||||
results+=$(find "$dir" -type f -name "$search.*" ! -path '*.sig')
|
results+=$(find "$dir" -type f -name "$search.*" ! -path '*.sig' ! -path '*.log')
|
||||||
done
|
done
|
||||||
case ${#results[*]} in
|
case ${#results[*]} in
|
||||||
0)
|
0)
|
||||||
|
Reference in New Issue
Block a user