Pārlūkot izejas kodu

Safely remove previous tox identity

Bob Mottram 8 gadus atpakaļ
vecāks
revīzija
f8c28d5183
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3
    0
      src/freedombone-image-mesh

+ 3
- 0
src/freedombone-image-mesh Parādīt failu

@@ -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