Add ntfs support

https://github.com/alexbelgium/hassio-addons/issues/511
This commit is contained in:
Alexandre
2022-10-16 00:38:22 +02:00
committed by GitHub
parent 82f8900ccc
commit b677f2e041

View File

@@ -79,8 +79,8 @@ for files in "/etc/cont-init.d" "/etc/services.d"; do
COMMAND="smbclient"
if grep -q -rnw "$files/" -e "$COMMAND" && ! command -v $COMMAND &>/dev/null; then
[ "$VERBOSE" = true ] && echo "$COMMAND required"
[ "$PACKMANAGER" = "apk" ] && PACKAGES="$PACKAGES samba samba-client"
[ "$PACKMANAGER" = "apt" ] && PACKAGES="$PACKAGES samba smbclient"
[ "$PACKMANAGER" = "apk" ] && PACKAGES="$PACKAGES samba samba-client ntfs-3g"
[ "$PACKMANAGER" = "apt" ] && PACKAGES="$PACKAGES samba smbclient ntfs-3g"
[ "$PACKMANAGER" = "pacman" ] && PACKAGES="$PACKAGES samba smbclient"
fi