Commit b899195c authored by Tails developers's avatar Tails developers

Remove *.pyc *after* 99-dedup_usr_share_doc.

99-dedup_usr_share_doc runs `hardlink', that is written in Python, so this might
create pyc files that were previously removed if we did it in the other way.
parent d6d90d92
......@@ -24,7 +24,6 @@ find /usr/share/doc -type f -name changelog.Debian.gz -delete
find /usr/share/doc -type f -name NEWS.Debian.gz -delete
rm -rf /tmp/*
find /usr -name "*.pyc" -delete
# truncate logs
for file in $(find /var/log/ -type f); do
......
#!/bin/sh
set -e
# Note: this must happen *after* 99-dedup_usr_share_doc
echo "Removing *.pyc"
find /usr -type f -name "*.pyc" -delete
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment