mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-06-08 05:19:53 +00:00
Merge pull request #1014 from apernet/wip-install-script-apt-update
chore(scripts): run apt update on apt based distro
This commit is contained in:
commit
f91efbeded
@ -236,6 +236,7 @@ detect_package_manager() {
|
||||
fi
|
||||
|
||||
if has_command apt; then
|
||||
apt update
|
||||
PACKAGE_MANAGEMENT_INSTALL='apt -y --no-install-recommends install'
|
||||
return 0
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user