mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-04 00:01:36 +01:00
Update automatic_packages.sh
This commit is contained in:
@@ -102,13 +102,6 @@ for files in "/etc/cont-init.d" "/etc/services.d" "/scripts"; do
|
|||||||
[ "$PACKMANAGER" = "apt" ] && PACKAGES="$PACKAGES moreutils"
|
[ "$PACKMANAGER" = "apt" ] && PACKAGES="$PACKAGES moreutils"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
COMMAND="sqlite"
|
|
||||||
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="sqlite3"
|
COMMAND="sqlite3"
|
||||||
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