From 0a005747645499a4ffe1502b19cea01106df358c Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 6 Mar 2022 14:44:08 +0100 Subject: [PATCH] Exfat support for alpine --- .templates/automatic_packages.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.templates/automatic_packages.sh b/.templates/automatic_packages.sh index d6da4863c..421b635af 100644 --- a/.templates/automatic_packages.sh +++ b/.templates/automatic_packages.sh @@ -56,12 +56,12 @@ for files in "/etc/cont-init.d" "/etc/services.d"; do if ls /etc/nginx 1>/dev/null 2>&1; then mv /etc/nginx /etc/nginx2; fi fi - #COMMAND="mount" - #if grep -q -rnw "$files/" -e "$COMMAND" && ! command -v $COMMAND &>/dev/null; then - # [ "$VERBOSE" = true ] && echo "$COMMAND required" - # [ "$PACKMANAGER" = "apk" ] && PACKAGES="$PACKAGES fuse-exfat fuse-exfat-utils" - # [ "$PACKMANAGER" = "apt" ] && PACKAGES="$PACKAGES exfat-fuse exfat-utils" - #fi + COMMAND="mount" + if grep -q -rnw "$files/" -e "$COMMAND" && ! command -v $COMMAND &>/dev/null; then + [ "$VERBOSE" = true ] && echo "$COMMAND required" + [ "$PACKMANAGER" = "apk" ] && PACKAGES="$PACKAGES exfat-fuse exfat-utils" + #[ "$PACKMANAGER" = "apt" ] && PACKAGES="$PACKAGES exfat-fuse exfat-utils" + fi COMMAND="cifs" if grep -q -rnw "$files/" -e "$COMMAND" && ! command -v $COMMAND &>/dev/null; then