Hi, The perl-cleaner script doesn't work properly when /var/db/pkg is a symlink (like in the case of my system). The attached trivial patch needs to be applied. Reproducible: Always
Created attachment 240351 [details, diff] Fixes perl-cleaner when /var/db/pkg is a symlink
Created attachment 240353 [details, diff] Fixes perl-cleaner when /var/db/pkg is a symlink
- for content in $(find ${PKG_DBDIR} -path "*/-MERGING-*" -prune -o -name CONTENTS -print ) ; do + for content in $(find -L ${PKG_DBDIR} -path "*/-MERGING-*" -prune -o -name CONTENTS -print ) ; do will be in perl-cleaner-2.3
In the tree. Please test. Thanks
Works in my case.