mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-01-30 18:49:02 +00:00
quoted variable for space safety
This commit is contained in:
parent
eb48d00396
commit
d6d28f1481
@ -1516,7 +1516,7 @@ rm_shaders() {
|
||||
|
||||
# Delete shaders directory in every directory beginning with "sc-alpha"
|
||||
for (( i=0; i<"${#appdata_items[@]}"; i++ )); do
|
||||
if [[ ${appdata_items[i]} = "$wine_prefix/$appdata_path"/sc-alpha* ]]; then # check if the item in the array begins with sc-alpha
|
||||
if [[ "${appdata_items[i]}" = "$wine_prefix/$appdata_path"/sc-alpha* ]]; then # check if the item in the array begins with sc-alpha
|
||||
if [ -d "${appdata_items[i]}/shaders" ]; then # check if there is a shaders subfolder
|
||||
if message question "The following directory will be deleted:\n\n${appdata_items[i]}/shaders\n\nDo you want to proceed?"; then
|
||||
debug_print continue "Deleting ${appdata_items[i]}/shaders..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user