mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-27 22:10:30 +01:00
Sqlite3
This commit is contained in:
@@ -109,6 +109,13 @@ for files in "/etc/cont-init.d" "/etc/services.d" "/scripts"; do
|
|||||||
[ "$PACKMANAGER" = "apt" ] && PACKAGES="$PACKAGES sqlite3"
|
[ "$PACKMANAGER" = "apt" ] && PACKAGES="$PACKAGES sqlite3"
|
||||||
fi
|
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"
|
COMMAND="pip"
|
||||||
if grep -q -rnw "$files/" -e "$COMMAND" && ! command -v $COMMAND &>/dev/null; then
|
if grep -q -rnw "$files/" -e "$COMMAND" && ! command -v $COMMAND &>/dev/null; then
|
||||||
[ "$VERBOSE" = true ] && echo "$COMMAND required"
|
[ "$VERBOSE" = true ] && echo "$COMMAND required"
|
||||||
|
|||||||
Reference in New Issue
Block a user