mirror of
https://github.com/truenas/core-build.git
synced 2026-02-15 07:36:18 +00:00
Forcefully remove documentation dir
This commit is contained in:
committed by
Kris Moore
parent
5731bf3027
commit
d587fc53e3
@@ -68,6 +68,9 @@ post-upgrade =
|
||||
fi
|
||||
rm -f /tmp/.sqlite3_ha_skip
|
||||
|
||||
# documention app got removed but upgrader couldnt remove it at some point
|
||||
rm -rf /usr/local/www/freenasUI/documentation
|
||||
|
||||
# Remove dangling .pyc files because previously freenas-ui did not include .pyc in pkg-plist
|
||||
find /usr/local/www/freenasUI -type f -iname "*.pyc" | while read f; do
|
||||
if ! dirname $f|grep -q __pycache__; then
|
||||
|
||||
Reference in New Issue
Block a user