fix teamviewer preload deletion detection

pull/297/head
Botspot 4 years ago
parent 0a752eeb00
commit c844744741

2
gui

@ -40,7 +40,7 @@ fi
#rename 'Vivaldi web browser' to Vivaldi
(mv "${DIRECTORY}/apps/TeamViewer" "${DIRECTORY}/apps/TeamViewer Host" 2>/dev/null
mv "${DIRECTORY}/data/status/TeamViewer" "${DIRECTORY}/data/status/TeamViewer Host" 2>/dev/null
if [ ! -z "$(cat "$DIRECTORY/data/preload/LIST" | grep 'TeamViewer Host')" ];then
if [ -z "$(grep -r 'TeamViewer Host' /home/pi/pi-apps/data/preload)" ];then
rm -rf "$DIRECTORY/data/preload"
fi
) &

Loading…
Cancel
Save