FrozenSand / UrbanTerror4

Official bug tracker for the game Urban Terror 4.x - www.urbanterror.info
77 stars 18 forks source link

UrTUpdater_Ded.sh: tempfile not found #432

Open db711 opened 6 years ago

db711 commented 6 years ago

Running UrtUpdater_Ded.sh on Arch Linux i get the following error:

./UrTUpdater_Ded.sh: line 240: tempfile: command not found ./UrTUpdater_Ded.sh: line 242: : No such file or directory cat: '': No such file or directory ./UrTUpdater_Ded.sh: line 240: tempfile: command not found ./UrTUpdater_Ded.sh: line 242: : No such file or directory cat: '': No such file or directory

It appears that tempfile is not supported on non-Debian-based Linux distributions, like Arch. I suggest replacing it with mktemp, which is part of the coreutils package.

NotVeryGood commented 6 years ago

I would recommend also posting this to the repository dedicated to the UrTUpdater: https://github.com/FrozenSand/UrTUpdater