|
@@ -591,19 +591,6 @@ function mesh_tox_client {
|
591
|
591
|
fi
|
592
|
592
|
duration=$SECONDS
|
593
|
593
|
echo $"Toxic client compile $(($duration / 60)) minutes and $(($duration % 60)) seconds elapsed."
|
594
|
|
-
|
595
|
|
- # create a tox user
|
596
|
|
- if [ ${rootdir} ]; then
|
597
|
|
- if [ ! -f ${rootdir}/home/${MY_USERNAME}/.config/tox/data.tox ]; then
|
598
|
|
- chroot ${rootdir} toxid -u $MY_USERNAME -n data
|
599
|
|
- chroot ${rootdir} chown -R ${MY_USERNAME}:${MY_USERNAME} /home/${MY_USERNAME}/.config
|
600
|
|
- fi
|
601
|
|
- else
|
602
|
|
- if [ ! -f /home/${MY_USERNAME}/.config/tox/data.tox ]; then
|
603
|
|
- toxid -u $MY_USERNAME -n data
|
604
|
|
- chown -R ${MY_USERNAME}:${MY_USERNAME} /home/${MY_USERNAME}/.config
|
605
|
|
- fi
|
606
|
|
- fi
|
607
|
594
|
}
|
608
|
595
|
|
609
|
596
|
function enable_tox_repo {
|