angristan / angristan/wireguard-install

script blindly assumes packages will be installed

Open
#505 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
11.3k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

This script fails a lot because it just runs things blindly without checking if there was success or failure. It's just a poorly written hack.

The script should first prompt a user whether to attempt to install the necessary packages. It should then, separately, confirm the necessary packages are installed before asking for configuration settings like IPs etc. I think this was a hack that only worked for one machine (probably based on some blog post brain fart) which was then haphazardly expanded to support some other distros without anyone considering how to write a proper program. I mean once you have either a working or non-working installation (which it is who the heck knows), the only way to proceed from there is to delete packages whether the user wants the packages deleted or not. It's all very odd, but I suppose this is the UNIX way for better or worse.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.