Skip to content

Commit 8dad8ea

Browse files
authored
Disable useless cache for plugin requirements in bootstrap_plugins
1 parent 45f3783 commit 8dad8ea

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

misago/.run

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,17 @@ bootstrap_plugins() {
5252

5353
if [ -f $plugin_pyproject ]; then
5454
echo "Installing: $plugin_pyproject"
55-
pip install -e "$plugin_dir[dev]"
55+
pip install --no-cache-dir -e "$plugin_dir[dev]"
5656
elif [ -f $plugin_requirements ]; then
5757
echo "Installing: $plugin_requirements"
58-
pip install -r $plugin_requirements
58+
pip install --no-cache-dir -r $plugin_requirements
5959
if [ -f $plugin_requirements_dev ]; then
6060
echo "Installing: $plugin_requirements_dev"
61-
pip install -r $plugin_requirements_dev
61+
pip install --no-cache-dir -r $plugin_requirements_dev
6262
fi
6363
elif [ -f $plugin_requirements_dev ]; then
6464
echo "Installing: $plugin_requirements_dev"
65-
pip install -r $plugin_requirements_dev
65+
pip install --no-cache-dir -r $plugin_requirements_dev
6666
else
6767
echo "Skipping plugin bootstrap for: $plugin_name"
6868
fi
@@ -71,7 +71,7 @@ bootstrap_plugins() {
7171
pip_install="$MISAGO_PLUGINS/pip-install.txt"
7272
if [ -f $pip_install ]; then
7373
echo "Installing: $pip_install"
74-
pip install -r $pip_install
74+
pip install --no-cache-dir -r $pip_install
7575
fi
7676
else
7777
echo "Skipping plugin bootstrap because plugins directory doesn't exist."

0 commit comments

Comments
 (0)