feat: add various system and theme icons, configuration files, and support assets

This commit is contained in:
jschantli committed 2026-10-03 08:14:42 -07:00
1 parent 848dac4264
commit 54baea79f4
15893 files changed
+781426 -2

No files matched your search

@@ -0,0 +1,10 @@
#! /bin/sh
set -e
VERSION=${2#python}
if which py3compile >/dev/null 2>&1; then
py3compile -V $VERSION /usr/lib/python3/dist-packages
else
echo >&2 "py3compile not found in $(basename $0) hook."
exit 1
fi
@@ -0,0 +1,20 @@
#! /bin/sh
set -e
VERSION=${2#python}
if which py3clean >/dev/null 2>&1; then
if [ "$VERSION" = 3.1 ]; then
find /usr/lib/python3.1/dist-packages -name '*.py[co]' -delete
find /usr/lib/python3/dist-packages -name '*.py[co]' -delete
else
py3clean -V $VERSION /usr/lib/python3/dist-packages
fi
else
if [ "$VERSION" = 3.1 ]; then
find /usr/lib/python3.1/dist-packages -name '*.py[co]' -delete
else
TAG=`python$VERSION -c "import sys; print(sys.implementation.cache_tag)"` \
find /usr/lib/python3/dist-packages -name "*.$TAG.py[co]" -delete
find /usr/lib/python3/dist-packages -depth -empty -name '__pycache__' -delete
fi
fi