Its a Unix system

This commit is contained in:
travis134 2022-08-28 20:31:26 -07:00
parent 043b63e556
commit 30f01c7da8
No known key found for this signature in database
GPG key ID: FB8B9EEA5CEF2984

View file

@ -18,11 +18,11 @@ while read -r pak_file; do
if [[ "${path,,}" == *"id1"* ]]; then if [[ "${path,,}" == *"id1"* ]]; then
filename="Quake" filename="Quake"
elif [[ "${path,,}" == *"hipnotic"* ]]; then elif [[ "${path,,}" == *"hipnotic"* ]]; then
filename="Quake Mission Pack 1: Scourge of Armagon" filename="Quake Mission Pack 1 - Scourge of Armagon"
elif [[ "${path,,}h" == *"rogue"* ]]; then elif [[ "${path,,}h" == *"rogue"* ]]; then
filename="Quake Mission Pack No. 2: Dissolution of Eternity" filename="Quake Mission Pack No. 2 - Dissolution of Eternity"
elif [[ "${path,,}" == *"dopa"* ]]; then elif [[ "${path,,}" == *"dopa"* ]]; then
filename="Quake: Dimension of the Past" filename="Quake - Dimension of the Past"
fi fi
file="${QUAKEPATH}/${filename}.quake" file="${QUAKEPATH}/${filename}.quake"
cat >"${file}" <<-EOM cat >"${file}" <<-EOM