Skip to content

fix: add kernel version retrieval #714

@DaL31

Description

@DaL31

Running sudo ./setup.sh outputs:

[*] ╔══════════════════════════════════════════════════════════════╗
[*] ║              EyeWitness Setup (Virtual Environment)         ║
[*] ║                                                              ║
[*] ║  Production-ready installation using Python virtual         ║
[*] ║  environments to avoid PEP 668 and system conflicts         ║
[*] ╚══════════════════════════════════════════════════════════════╝

[+] Running with root privileges
[*] Detecting system information...
./setup.sh: line 54: VERSION_ID: unbound variable

Fix by changing

OS_VERSION="$VERSION_ID"

to

OS_VERSION="$(uname -r)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions