瀏覽代碼

Remove old language formats

Jaap Marcus 5 年之前
父節點
當前提交
8f8fc246d4
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      install/upgrade/versions/1.3.0.sh

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

@@ -41,4 +41,9 @@ if [ "$FTP_SYSTEM" == "proftpd" ]; then
     cp -f $HESTIA_INSTALL_DIR/proftpd/proftpd.conf /etc/proftpd/
     cp -f $HESTIA_INSTALL_DIR/proftpd/tls.conf /etc/proftpd/
     
+fi
+
+echo "[!] Clean up old language files"
+if [ -e $HESTIA/web/inc/i18n/en.php ]; then 
+    rm -f -r $HESTIA/web/inc/i18n
 fi