mrrfv / open-android-backup

Back up your device without vendor lock-ins, using insecure software or root. Supports encryption and compression out of the box. Works cross-platform.
http://openandroidbackup.me/
GNU General Public License v3.0
674 stars 37 forks source link

line 6: [: -v: unary operator expected #57

Closed eboelens closed 1 year ago

eboelens commented 1 year ago

Device info

Manufacturer: Asus Android version: A12 Custom ROM/rooted? /e/ yes Model: Sake

System info

Available disk space: 500GB Operating system: OSX 10.15.7 ( Homebrew and Apple do not provide support for this old version)


Describe the issue below. when run the script sh backup.sh:

line 6: [: -v: unary operator expected

mrrfv commented 1 year ago

This error is caused by the version of Bash shipped by Apple, which is very outdated. Homebrew is required to download the latest Bash and other needed dependencies, so the script won't work without it.

Won't fix.

eboelens commented 1 year ago

ok Thanks With Linux Ubuntu it works until the companion app wont install I think, I will see later

mrrfv commented 1 year ago

What kind of error are you getting? Is your device being correctly recognised by the script?

eboelens commented 1 year ago

No errors everything runs fine 🙂. First backup is a fact. thx for this