mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-03 04:27:39 +03: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue