mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-22 03:20:32 +01:00
matplotlib
This commit is contained in:
@@ -107,10 +107,9 @@ echo "... checking and setting permissions"
|
|||||||
chmod -R 755 /config/*
|
chmod -R 755 /config/*
|
||||||
chmod 777 /config
|
chmod 777 /config
|
||||||
|
|
||||||
# Create Matplotlib configuration directory
|
# Create folder for matplotlib
|
||||||
echo "... setting up Matplotlabdir"
|
echo "... setting up Matplotlabdir"
|
||||||
MPLCONFIGDIR="${MPLCONFIGDIR:-$HOME/.config/matplotlib}"
|
mkdir -p "$HOME"/.cache/matplotlib
|
||||||
mkdir -p "$MPLCONFIGDIR"
|
chown -R "pi:pi" "$HOME"/.cache/matplotlib
|
||||||
chown pi:pi "$MPLCONFIGDIR"
|
chmod 777 "$HOME"/.cache/matplotlib
|
||||||
chmod 777 "$MPLCONFIGDIR"
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user