The checkDependencies() function in ut99-installer.sh has a problem in Arch Linux in that it checks for the wrong packages being installed in two instances. The p7zip-full and wget packages in the Arch Linux repositories are named p7zip (or, these days, just 7zip, although p7zip also works) and wget respectively, and because the script checks for packages named p7zip-plugins and wget2-wget instead, the script will falsely report the packages as missing and fail to run even if they're installed on the user's system.
The easy solution to this is to comment out or delete the two lines in the code that check for the packages in question before running it, but I'm wondering if a more universal fix could be applied to the script that would check for the proper packages on Arch Linux without breaking the script for other distros.
unrealgold-installer.sh does not appear to have this problem.
The
checkDependencies()function in ut99-installer.sh has a problem in Arch Linux in that it checks for the wrong packages being installed in two instances. Thep7zip-fullandwgetpackages in the Arch Linux repositories are namedp7zip(or, these days, just7zip, althoughp7zipalso works) andwgetrespectively, and because the script checks for packages namedp7zip-pluginsandwget2-wgetinstead, the script will falsely report the packages as missing and fail to run even if they're installed on the user's system.The easy solution to this is to comment out or delete the two lines in the code that check for the packages in question before running it, but I'm wondering if a more universal fix could be applied to the script that would check for the proper packages on Arch Linux without breaking the script for other distros.
unrealgold-installer.sh does not appear to have this problem.