linuxOS_AP05/debian/test/usr/share/debhelper/autoscripts/prerm-pyclean

9 lines
173 B
Plaintext
Raw Permalink Normal View History

2025-09-26 01:40:02 +00:00
if which pyclean >/dev/null 2>&1; then
pyclean -p #PACKAGE# #ARGS#
else
dpkg -L #PACKAGE# | grep '\.py$' | while read file
do
rm -f "${file}"[co] >/dev/null
done
fi