Explorar o código

Remove unnecessary history.log file created due to bug

Kristan Kenney %!s(int64=6) %!d(string=hai) anos
pai
achega
b83da9d08e
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      install/upgrade/versions/latest.sh

+ 5 - 0
install/upgrade/versions/latest.sh

@@ -50,3 +50,8 @@ if [ -e "/etc/clamav/clamd.conf" ]; then
         sed -i '/DetectBrokenExecutables/d' /etc/clamav/clamd.conf
     fi
 fi
+
+# Remove errornous history.log file created by certain builds due to bug in v-restart-system
+if [ -e $HESTIA/data/users/history.log ]; then
+    rm -f $HESTIA/data/users/history.log
+fi