Skip to content

Commit

Permalink
fix: install libreswan for centos.
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldin95 committed Jun 22, 2024
1 parent aaf4738 commit 97099b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/rootfs/var/openlan/script/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function requires() {
fi
## Install libreswan from github.
if [ "$sys"x == "redhat"x ]; then
wget -O /tmp/libreswan-4.10-1.el7.x86_64.rpm https://github.com/luscis/packages/raw/main/redhat/redhat7/libreswan-4.10-1.el7.x86_64.rpm
wget -O /tmp/libreswan-4.10-1.el7.x86_64.rpm https://github.com/luscis/packages/raw/main/redhat/centos7/libreswan-4.10-1.el7.x86_64.rpm
yum install -y /tmp/libreswan-4.10-1.el7.x86_64.rpm
elif [ "$sys"x == "debian"x ]; then
wget -O /tmp/libreswan_4.10-1_amd64.deb https://github.com/luscis/packages/raw/main/debian/bullseye/libreswan_4.10-1_amd64.deb
Expand Down

0 comments on commit 97099b4

Please sign in to comment.