mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
tvheadend42: create default directories
This commit is contained in:
parent
564850c626
commit
1fbeb10f5f
@ -37,6 +37,11 @@ if [ -f "$ADDON_HOME/dvr/config/dvr-config" ]; then
|
||||
rm $ADDON_HOME/dvr/config/dvr-config
|
||||
fi
|
||||
|
||||
# workaround to create default Tvh directories without entering samba share
|
||||
if [ ! -d "/storage/recordings" ]; then
|
||||
mkdir -p /storage/recordings /storage/picons/tvh /storage/picons/vdr
|
||||
fi
|
||||
|
||||
if [ -f "$ADDON_HOME/channel/config/config.tmp" ]; then
|
||||
rm $ADDON_HOME/channel/config/config.tmp
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user