mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +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 && \
|
||||
# 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 && \
|
||||
# Add MQTT dependencies
|
||||
echo "dateparser" >> /requirements.txt && \
|
||||
\
|
||||
# Execute installer
|
||||
/./newinstaller.sh && \
|
||||
\
|
||||
# Install dateparser
|
||||
$PYTHON_VIRTUAL_ENV /usr/bin/pip3 install dateparser && \
|
||||
\
|
||||
# Adapt for lsio usage of /app
|
||||
if [ -d /app ]; then rm -r /app; fi && \
|
||||
ln -s /home/"$USER" /app && \
|
||||
|
||||
Reference in New Issue
Block a user