Update Medicat_Installer.sh

Fix problem that some Linux may not have `mkfs.vfat` command.
pull/68/head
蘭亭已矣 4 months ago committed by GitHub
parent 9311902e4e
commit 38828a8868
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -144,6 +144,10 @@ if ! [ $(which 7z 2>/dev/null) ]; then
fi
fi
if ! [ $(which mkfs.vfat 2>/dev/null) ]; then
sudo $pkgmgr $install_arg dosfstools
fi
if ! [ $(sudo which mkntfs 2>/dev/null) ]; then
if [ "$os" == "centos" ]; then
sudo $pkgmgr $install_arg ntfsprogs

Loading…
Cancel
Save