mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-22 14:11:27 +00:00
vagrant: suppress any error msgs from __pycache__/.tox cleanup
This commit is contained in:
parent
4cffed8334
commit
798cbf7a66
1 changed files with 3 additions and 3 deletions
6
Vagrantfile
vendored
6
Vagrantfile
vendored
|
@ -150,9 +150,9 @@ end
|
||||||
def fs_init(user)
|
def fs_init(user)
|
||||||
return <<-EOF
|
return <<-EOF
|
||||||
# clean up (wrong/outdated) stuff we likely got via rsync:
|
# clean up (wrong/outdated) stuff we likely got via rsync:
|
||||||
rm -rf /vagrant/borg/borg/.tox
|
rm -rf /vagrant/borg/borg/.tox 2> /dev/null
|
||||||
rm -rf /vagrant/borg/borg/__pycache__
|
rm -rf /vagrant/borg/borg/__pycache__ 2> /dev/null
|
||||||
find /vagrant/borg/borg/src -name '__pycache__' -exec rm -rf {} \\;
|
find /vagrant/borg/borg/src -name '__pycache__' -exec rm -rf {} \\; 2> /dev/null
|
||||||
chown -R #{user} /vagrant/borg
|
chown -R #{user} /vagrant/borg
|
||||||
touch ~#{user}/.bash_profile ; chown #{user} ~#{user}/.bash_profile
|
touch ~#{user}/.bash_profile ; chown #{user} ~#{user}/.bash_profile
|
||||||
echo 'export LANG=en_US.UTF-8' >> ~#{user}/.bash_profile
|
echo 'export LANG=en_US.UTF-8' >> ~#{user}/.bash_profile
|
||||||
|
|
Loading…
Reference in a new issue