Not needed
This commit is contained in:
@ -1,20 +0,0 @@
|
||||
--- src/share/poudriere/pkgclean.sh.orig 2024-04-24 15:38:18 UTC
|
||||
+++ src/share/poudriere/pkgclean.sh
|
||||
@@ -289,6 +289,8 @@ check_should_delete_pkg() {
|
||||
*".${PKG_EXT}")
|
||||
if should_delete "${file}"; then
|
||||
echo "${file}" >> "${BADFILES_LIST:?}"
|
||||
+ # If the pkg is a symlink to a hashed package, remove the hashed version as well
|
||||
+ [ -L "${file}" ] && echo "$(realpath ${file})" >> ${BADFILES_LIST}
|
||||
fi
|
||||
;;
|
||||
*.txz)
|
||||
@@ -305,6 +307,8 @@ check_should_delete_pkg() {
|
||||
*)
|
||||
msg_verbose "Found incorrect format file: ${file}"
|
||||
echo "${file}" >> "${BADFILES_LIST:?}"
|
||||
+ # If the pkg is a symlink to a hashed package, remove the hashed version as well
|
||||
+ [ -L "${file}" ] && echo "$(realpath ${file})" >> ${BADFILES_LIST}
|
||||
;;
|
||||
esac
|
||||
}
|
||||
Reference in New Issue
Block a user