mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-05 11:24:53 +01:00
Install dateparser
This commit is contained in:
@@ -84,12 +84,13 @@ RUN \
|
|||||||
sed -i "/git clone/a chown -R 1000:1000 $HOME" /newinstaller.sh && \
|
sed -i "/git clone/a chown -R 1000:1000 $HOME" /newinstaller.sh && \
|
||||||
# Remove all instances of sudo from the newinstaller
|
# Remove all instances of sudo from the newinstaller
|
||||||
sed -i -e "s|== 0|== 7|g" -e "s|sudo -n true|true|g" -e "s|sudo -K|true|g" /newinstaller.sh && \
|
sed -i -e "s|== 0|== 7|g" -e "s|sudo -n true|true|g" -e "s|sudo -K|true|g" /newinstaller.sh && \
|
||||||
# Add MQTT dependencies
|
|
||||||
echo "dateparser" >> /requirements.txt && \
|
|
||||||
\
|
\
|
||||||
# Execute installer
|
# Execute installer
|
||||||
/./newinstaller.sh && \
|
/./newinstaller.sh && \
|
||||||
\
|
\
|
||||||
|
# Install dateparser
|
||||||
|
$PYTHON_VIRTUAL_ENV /usr/bin/pip3 install dateparser && \
|
||||||
|
\
|
||||||
# Adapt for lsio usage of /app
|
# Adapt for lsio usage of /app
|
||||||
if [ -d /app ]; then rm -r /app; fi && \
|
if [ -d /app ]; then rm -r /app; fi && \
|
||||||
ln -s /home/"$USER" /app && \
|
ln -s /home/"$USER" /app && \
|
||||||
|
|||||||
Reference in New Issue
Block a user