Remove unnecessary empty dir check

This commit is contained in:
the-sane
2025-09-11 10:30:05 -04:00
parent a14594a522
commit a7650a2c93

View File

@@ -2304,12 +2304,6 @@ install_game_wine() {
continue continue
fi fi
# Make sure the directory is empty
if [ "$(ls -A "$install_dir" 2>/dev/null)" ]; then
message warning "The chosen directory is not empty!\nPlease choose a different install location.\n\n$install_dir"
continue
fi
# Add the wine prefix subdirectory to the install path # Add the wine prefix subdirectory to the install path
install_dir="$install_dir/star-citizen" install_dir="$install_dir/star-citizen"