mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-09 17:15:57 +02:00
Update ha_automatic_packages.sh
This commit is contained in:
@@ -61,7 +61,7 @@ for files in "/etc/cont-init.d" "/etc/services.d"; do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
COMMAND="mount"
|
COMMAND="mount"
|
||||||
if grep -q -rnw "$files/" -e "$COMMAND" && ! command -v $COMMAND &>/dev/null; then
|
if grep -q -rnw "$files/" -e "$COMMAND"; then
|
||||||
[ "$VERBOSE" = true ] && echo "$COMMAND required"
|
[ "$VERBOSE" = true ] && echo "$COMMAND required"
|
||||||
[ "$PACKMANAGER" = "apk" ] && PACKAGES="$PACKAGES exfat-fuse exfat-utils ntfs-3g squashfs-tools fuse lsblk"
|
[ "$PACKMANAGER" = "apk" ] && PACKAGES="$PACKAGES exfat-fuse exfat-utils ntfs-3g squashfs-tools fuse lsblk"
|
||||||
[ "$PACKMANAGER" = "apt" ] && PACKAGES="$PACKAGES exfat* ntfs* squashfs-tools lsblk"
|
[ "$PACKMANAGER" = "apt" ] && PACKAGES="$PACKAGES exfat* ntfs* squashfs-tools lsblk"
|
||||||
@@ -77,7 +77,7 @@ for files in "/etc/cont-init.d" "/etc/services.d"; do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
COMMAND="cifs"
|
COMMAND="cifs"
|
||||||
if grep -q -rnw "$files/" -e "$COMMAND" && ! command -v $COMMAND &>/dev/null; then
|
if grep -q -rnw "$files/" -e "$COMMAND"; then
|
||||||
[ "$VERBOSE" = true ] && echo "$COMMAND required"
|
[ "$VERBOSE" = true ] && echo "$COMMAND required"
|
||||||
[ "$PACKMANAGER" = "apk" ] && PACKAGES="$PACKAGES cifs-utils keyutils"
|
[ "$PACKMANAGER" = "apk" ] && PACKAGES="$PACKAGES cifs-utils keyutils"
|
||||||
[ "$PACKMANAGER" = "apt" ] && PACKAGES="$PACKAGES cifs-utils keyutils"
|
[ "$PACKMANAGER" = "apt" ] && PACKAGES="$PACKAGES cifs-utils keyutils"
|
||||||
|
|||||||
Reference in New Issue
Block a user