diff --git a/README.md b/README.md index 474c4ee..4ad62fc 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ then execute this command `sudo dnf install p7zip p7zip-plugins adb curl newt pv **Warning:** I've recently switched to an AMD CPU+NVIDIA GPU rig, making it impossible for me to test this script on macOS without buying a Mac. Whilst there is nothing that could prevent this script from running on macOS, you are on your own and support will be very limited. (script last tested on Janurary 11th 2023) -1. Install p7zip and adb using [Homebrew](https://brew.sh/): +1. Install dependencies using [Homebrew](https://brew.sh/): ```bash # Tip: Run these commands in the built-in Terminal app (or iTerm if you have that installed). @@ -60,7 +60,7 @@ then execute this command `sudo dnf install p7zip p7zip-plugins adb curl newt pv /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" # If you already have Homebrew installed, just run these 2 commands: brew install --cask android-platform-tools -brew install p7zip pv bash dialog +brew install p7zip pv bash dialog coreutils ``` 2. Follow the steps 2 and 3 from the install guide for Linux. diff --git a/backup.sh b/backup.sh index 6b50922..68404bf 100755 --- a/backup.sh +++ b/backup.sh @@ -29,9 +29,9 @@ else fi fi -# Check if other dependencies are installed: adb, tar, pv, 7z, bc +# Check if other dependencies are installed: adb, tar, pv, 7z, bc, timeout # srm is optional so we don't check for it -commands=("tar" "pv" "7z" "adb" "bc") +commands=("tar" "pv" "7z" "adb" "bc" "timeout") # Add kdialog to the list of commands if we're running in WSL if [ "$(uname -r | sed -n 's/.*\( *Microsoft *\).*/\1/ip')" ]; then