mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-20 11:57:19 +02:00
fix(templates): use exact ntfs-3g package name instead of glob on apt (#2927)
The "mount" auto-detection in ha_automatic_packages.sh appended the glob "ntfs*" to the apt install list. On Debian trixie-based images (e.g. ghcr.io/starosdev/scrutiny:latest-omnibus, used by scrutiny and scrutiny_fa) this glob fails to resolve even though the real package ntfs-3g exists, breaking the Docker build. Use the exact package name instead, matching the apk branch just above it. Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -65,7 +65,7 @@ for files in "/etc/cont-init.d" "/etc/services.d"; do
|
||||
if grep -q -rnw "$files/" -e "$COMMAND"; then
|
||||
[ "$VERBOSE" = true ] && echo "$COMMAND required"
|
||||
[ "$PACKMANAGER" = "apk" ] && PACKAGES="$PACKAGES exfatprogs ntfs-3g ntfs-3g-progs squashfs-tools fuse lsblk"
|
||||
[ "$PACKMANAGER" = "apt" ] && PACKAGES="$PACKAGES exfat* ntfs* squashfs-tools util-linux"
|
||||
[ "$PACKMANAGER" = "apt" ] && PACKAGES="$PACKAGES exfat* ntfs-3g squashfs-tools util-linux"
|
||||
#[ "$PACKMANAGER" = "pacman" ] && PACKAGES="$PACKAGES ntfs-3g"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user