mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
chrome: use posix output of df, avoid not parsable multi line
This commit is contained in:
parent
cc5dd53dca
commit
46511103ff
@ -12,7 +12,7 @@ DATA_FILE="/tmp/curl.data"
|
||||
CHROME_FILE="google-chrome-stable_@CHROME_VERSION@-1_amd64.deb"
|
||||
|
||||
# check for enough free disk space
|
||||
if [ $(df . | awk 'END {print $4}') -lt 400000 ]; then
|
||||
if [ $(df -P . | awk 'END {print $4}') -lt 400000 ]; then
|
||||
kodi-send --action="Notification(Not enough disk space, at least 400MB are required,30000,${ICON})" >/dev/null
|
||||
exit 0;
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user