Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2018 10:21:05 -0800
From:      John Baldwin <jhb@FreeBSD.org>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Best way to deal with .pyc files?
Message-ID:  <f2c1b368-cd2e-85a3-a5c7-794d69204625@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
The devel/gdb port installs python scripts into /usr/local/share/gdb<ver>/python.
If you then run kgdb as root (not that unusual), it will generate .pyc files in
those directories that are not deleted by 'pkg delete'.  What is the best way to
handle this case?  Should the pkg-plist include @rmtry entries for each pyc
file or is there a better way?

-- 
John Baldwin

                                                                            



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f2c1b368-cd2e-85a3-a5c7-794d69204625>