Skip to content

ut99-installer.sh: checkDependencies() checks for wrong packages on Arch Linux #18

@MFG38

Description

@MFG38

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions