michaelshmitty / SD-Installer-macos_MiSTer

MiSTer SD card installer (macOS)
GNU General Public License v3.0
34 stars 7 forks source link

LINUX: check for root, and list devices if device are not given #6

Closed sigboe closed 4 years ago

sigboe commented 4 years ago

The script now checks if you use it as root/sudo, since its required.

If no device is given, it still gives the same error and exits, but it lists usb storage devices and their names for the convenience of the user.

Also: