angristan / angristan/wireguard-install

script blindly assumes packages will be installed

未关闭
#505 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
11.3k
派生
1.7k
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。