mirror of
https://github.com/truenas/core-build.git
synced 2026-02-15 07:36:18 +00:00
Installer fix
This commit is contained in:
@@ -53,6 +53,9 @@ post-upgrade =
|
||||
# vcp got removed and this is to ensure that the relevant directory is deleted if upgrader fails to remove it
|
||||
rm -rf /usr/local/www/freenasUI/vcp
|
||||
|
||||
# documention app got removed but upgrader couldnt remove it at some point
|
||||
rm -rf /usr/local/www/freenasUI/documentation
|
||||
|
||||
touch /tmp/.sqlite3_ha_skip
|
||||
|
||||
# If database does not have account:0005_add_netdata_user
|
||||
@@ -68,9 +71,6 @@ 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