mirror of
https://github.com/the-sane/lug-helper.git
synced 2026-11-28 15:15:34 +00:00
Remove unnecessary empty dir check
This commit is contained in:
1 parent
a14594a522
commit
a7650a2c93
1 file changed
-6
@@ -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"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user