瀏覽代碼

Safely remove previous tox identity

Bob Mottram 8 年之前
父節點
當前提交
f8c28d5183
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      src/freedombone-image-mesh

+ 3
- 0
src/freedombone-image-mesh 查看文件

@@ -488,6 +488,9 @@ function configure_toxcore {
488 488
 
489 489
 	echo $'Clearing toxic client settings' >> $INSTALL_LOG
490 490
 	if [ -d /home/${MY_USERNAME}/.config/tox ]; then
491
+		shred -zu /home/${MY_USERNAME}/.config/tox/*.tox
492
+		shred -zu /home/${MY_USERNAME}/.config/tox/*.db
493
+		shred -zu /home/${MY_USERNAME}/.config/tox/*.ini
491 494
 		rm -rf /home/${MY_USERNAME}/.config/tox
492 495
 	fi
493 496
 	echo $'toxic client configured' >> $INSTALL_LOG