@@ -886,6 +886,9 @@ function mod_install() {
|
|||||||
[[ ! -f "$file" ]] && { log ERROR "Mod file $file does not exist."; exit 1; }
|
[[ ! -f "$file" ]] && { log ERROR "Mod file $file does not exist."; exit 1; }
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# sanitize mod name so it doesn't contain commas
|
||||||
|
mod_name=$(echo "$mod_name" | sed 's/,//g')
|
||||||
|
|
||||||
# verify duplicate mod names
|
# verify duplicate mod names
|
||||||
if [[ $has_nexus_mod_arguments == false ]]; then
|
if [[ $has_nexus_mod_arguments == false ]]; then
|
||||||
get_mod_name_and_index --do-not-exit
|
get_mod_name_and_index --do-not-exit
|
||||||
|
|||||||
Reference in New Issue
Block a user