mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-23 21:30:15 +00:00
Kernel headers are required when installing from package too
This commit is contained in:
parent
5c97221d3f
commit
e77f668021
1 changed files with 2 additions and 2 deletions
|
@ -559,7 +559,7 @@ Pin-Priority: 500" | $SUDO tee /etc/apt/preferences.d/limit-unstable > /dev/null
|
|||
|
||||
$SUDO apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC 648ACFD622F3D138
|
||||
$SUDO ${UPDATE_PKG_CACHE} &> /dev/null
|
||||
PIVPN_DEPS=(wireguard)
|
||||
PIVPN_DEPS=(raspberrypi-kernel-headers wireguard)
|
||||
installDependentPackages PIVPN_DEPS[@]
|
||||
|
||||
elif [ "$(uname -m)" = "armv6l" ]; then
|
||||
|
@ -1344,7 +1344,7 @@ main(){
|
|||
askUnattendedUpgrades
|
||||
confUnattendedUpgrades
|
||||
|
||||
$SUDO cp /tmp/setupVars.conf /etc/pivpn/setupVars.conf
|
||||
$SUDO cp /tmp/setupVars.conf "$setupVars"
|
||||
installScripts
|
||||
|
||||
# Ensure that cached writes reach persistent storage
|
||||
|
|
Loading…
Reference in a new issue