Ownership of toc profile
This commit is contained in:
parent
6b9b9fceb5
commit
9d5e13a3c1
|
@ -593,7 +593,10 @@ function mesh_tox_client {
|
|||
echo $"Toxic client compile $(($duration / 60)) minutes and $(($duration % 60)) seconds elapsed."
|
||||
|
||||
# create a tox user
|
||||
toxid -u $MY_USERNAME -n data
|
||||
if [ ! -f /home/${MY_USERNAME}/.config/tox/data.tox ]; then
|
||||
toxid -u $MY_USERNAME -n data
|
||||
chown -R ${MY_USERNAME}:${MY_USERNAME} /home/${MY_USERNAME}/.config
|
||||
fi
|
||||
}
|
||||
|
||||
function enable_tox_repo {
|
||||
|
|
|
@ -447,6 +447,7 @@ function configure_toxcore {
|
|||
function create_tox_user {
|
||||
if [ ! -f /home/${MY_USERNAME}/.config/tox/data.tox ]; then
|
||||
toxid -u $MY_USERNAME -n data
|
||||
chown -R ${MY_USERNAME}:${MY_USERNAME} /home/${MY_USERNAME}/.config
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue