docs(macos-compatibility): update README with information regarding macOS

This commit is contained in:
sidneys
2020-04-07 23:56:04 +02:00
parent cf56b0077a
commit 8812fcd7f0
2 changed files with 16 additions and 6 deletions

View File

@@ -299,18 +299,17 @@ if ! which cabextract >/dev/null 2>&1 \
echo " - chntpw"
echo " - genisoimage or mkisofs"
echo ""
if [ `uname` == "Linux" ]; then
# Linux
echo "If you use Debian or Ubuntu you can install these using:"
echo "sudo apt-get install cabextract wimtools chntpw genisoimage"
elif [ `uname` == "Darwin" ]; then
# macOS
echo "macOS requires Homebrew (https://brew.sh) to install the prerequisite software."
echo "If you use Homebrew, you can install these using:"
echo "brew tap sidneys/homebrew"
echo "brew install cabextract wimlib cdrtools sidneys/homebrew/chntpw"
fi
exit 1
fi