Don't need the process count since the confliciting script is gone
This commit is contained in:
parent
153afb2bd9
commit
cd2fbf665b
|
@ -781,10 +781,6 @@ function mesh_client_startup_applications {
|
||||||
echo '' >> $START_DESKTOP
|
echo '' >> $START_DESKTOP
|
||||||
echo 'INITIAL_TOX_USERNAME=""' >> $START_DESKTOP
|
echo 'INITIAL_TOX_USERNAME=""' >> $START_DESKTOP
|
||||||
echo 'while [ ${#INITIAL_TOX_USERNAME} -eq 0 ]; do' >> $START_DESKTOP
|
echo 'while [ ${#INITIAL_TOX_USERNAME} -eq 0 ]; do' >> $START_DESKTOP
|
||||||
echo ' username_dialog_count=$(ps aux | grep zenity | wc -l)' >> $START_DESKTOP
|
|
||||||
echo ' if [ $username_dialog_count -gt 1 ]; then' >> $START_DESKTOP
|
|
||||||
echo ' exit 0' >> $START_DESKTOP
|
|
||||||
echo ' fi' >> $START_DESKTOP
|
|
||||||
echo " data=\$(zenity --forms --title=\"$MESH_TITLE\" --text=\"$MESH_SET_USERNAME\" --separator=\",\" --add-entry=\"Username\")" >> $START_DESKTOP
|
echo " data=\$(zenity --forms --title=\"$MESH_TITLE\" --text=\"$MESH_SET_USERNAME\" --separator=\",\" --add-entry=\"Username\")" >> $START_DESKTOP
|
||||||
echo ' accepted=$?' >> $START_DESKTOP
|
echo ' accepted=$?' >> $START_DESKTOP
|
||||||
echo ' if ((accepted == 0)); then' >> $START_DESKTOP
|
echo ' if ((accepted == 0)); then' >> $START_DESKTOP
|
||||||
|
|
Loading…
Reference in New Issue