diff options
Diffstat (limited to 'emulators/86Box/files/86Box-install-roms.sh.in')
-rw-r--r-- | emulators/86Box/files/86Box-install-roms.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emulators/86Box/files/86Box-install-roms.sh.in b/emulators/86Box/files/86Box-install-roms.sh.in index 0c0cf18f342b..6b899380545a 100644 --- a/emulators/86Box/files/86Box-install-roms.sh.in +++ b/emulators/86Box/files/86Box-install-roms.sh.in @@ -5,7 +5,7 @@ DEFAULT_TARGET_DIR="$HOME/.local/share/86Box/" TARGET_DIR=${TARGET_DIR:-$DEFAULT_TARGET_DIR} install_roms() { - if [ -d "$TARGET_DIR" ] && [ "$(ls -A $TARGET_DIR)" ]; then + if [ -d "$TARGET_DIR/roms" ] && [ "$(ls -A $TARGET_DIR/roms)" ]; then echo "ROMs already installed in $TARGET_DIR" echo "To (re)install, please first remove ROMs with -r parameter" exit 1 |