Remove any cached yarn files
This commit is contained in:
parent
c7d31702b4
commit
39c126cba5
|
@ -248,6 +248,11 @@ function install_pleroma {
|
|||
fi
|
||||
sed -i 's|index.php|index_qvitter.php|g' $nginx_site
|
||||
|
||||
# remove any cached yarn files
|
||||
if [ -d /root/.cache/yarn ]; then
|
||||
rm -rf /root/.cache/yarn
|
||||
fi
|
||||
|
||||
chown -R www-data:www-data /var/www/${pleroma_domain}/htdocs
|
||||
}
|
||||
|
||||
|
|
|
@ -440,6 +440,9 @@ function disable_ctrl_alt_del {
|
|||
|
||||
function lockdown_permissions {
|
||||
# All commands owned by root
|
||||
if [ -d /root/.cache/yarn ]; then
|
||||
rm -rf /root/.cache/yarn
|
||||
fi
|
||||
if [ -d /usr/local/share/.cache/yarn ]; then
|
||||
rm -rf /usr/local/share/.cache/yarn
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue