mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-18 13:44:20 +01:00
Bugfix custom deps prefix (#274)
* Update run.sh * Update config.json * Update CHANGELOG.md
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
# Changelog
|
||||
|
||||
## 0.2
|
||||
- Bugfix pip prefix settings
|
||||
|
||||
## 0.1
|
||||
- Initial release
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Custom deps deployment",
|
||||
"version": "0.1",
|
||||
"version": "0.2",
|
||||
"slug": "custom_deps",
|
||||
"description": "Manage custom python modules in Home Assistant deps",
|
||||
"url": "https://home-assistant.io/addons/custom_deps/",
|
||||
|
||||
@@ -22,7 +22,7 @@ fi
|
||||
# Install pypi modules
|
||||
echo "[Info] Install pypi modules into deps"
|
||||
export PYTHONUSERBASE=/config/deps
|
||||
if ! ERROR="$(pip3 install --user --no-cache-dir --no-dependencies "${PYPI[@]}")"; then
|
||||
if ! ERROR="$(pip3 install --user --no-cache-dir --prefix= --no-dependencies "${PYPI[@]}")"; then
|
||||
echo "[Error] Can't install pypi packages!"
|
||||
echo "$ERROR" && exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user