sudo for cleanup temporary dirs

This commit is contained in:
Vladimir Safonkin
2020-11-10 12:44:58 +03:00
parent 3250f19314
commit 4ce27ca446

View File

@@ -30,7 +30,7 @@ npm cache clean --force
yarn cache clean
# Clean up temporary directories
rm -rf ~/utils ~/image-generation /tmp/*
sudo rm -rf ~/utils ~/image-generation /tmp/*
# Erase all indexes and wait until the rebuilding process ends,
# for now there is no way to get status of indexing process, it takes around 3 minutes to accomplish