mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-29 01:01:44 +00:00
Sqlite3
This commit is contained in:
1 parent
1f7c8c368c
commit
fc3c1ea149
1 file changed
+7
@@ -109,6 +109,13 @@ for files in "/etc/cont-init.d" "/etc/services.d" "/scripts"; do
|
||||
[ "$PACKMANAGER" = "apt" ] && PACKAGES="$PACKAGES sqlite3"
|
||||
fi
|
||||
|
||||
COMMAND="sqlite3"
|
||||
if grep -q -rnw "$files/" -e "$COMMAND" && ! command -v $COMMAND &>/dev/null; then
|
||||
[ "$VERBOSE" = true ] && echo "$COMMAND required"
|
||||
[ "$PACKMANAGER" = "apk" ] && PACKAGES="$PACKAGES sqlite"
|
||||
[ "$PACKMANAGER" = "apt" ] && PACKAGES="$PACKAGES sqlite3"
|
||||
fi
|
||||
|
||||
COMMAND="pip"
|
||||
if grep -q -rnw "$files/" -e "$COMMAND" && ! command -v $COMMAND &>/dev/null; then
|
||||
[ "$VERBOSE" = true ] && echo "$COMMAND required"
|
||||
|
||||
Reference in new issue
Block a user