Skip to content
Snippets Groups Projects
Commit 576993a8 authored by Jan-Tarek Butt's avatar Jan-Tarek Butt
Browse files

buildscript.sh: replace vpn pkgs with related feature flags

parent 4fe490a0
No related branches found
No related tags found
No related merge requests found
...@@ -112,12 +112,12 @@ prepare_sitemk(){ ...@@ -112,12 +112,12 @@ prepare_sitemk(){
# Start prepare site.mk for build # Start prepare site.mk for build
if grep -q "%A" < "$EXECDIR"/site.mk; then if grep -q "%A" < "$EXECDIR"/site.mk; then
if [ "$vpn" == "l2tp" ]; then if [ "$vpn" == "l2tp" ]; then
sed -i "/^%A$/c\\\\tgluon-mesh-vpn-tunneldigger \\\\" "$EXECDIR"/site.mk sed -i "/^%A$/c\\\\tmesh-vpn-tunneldigger \\\\" "$EXECDIR"/site.mk
echo "Set gluon-mesh-vpn-tunneldigger package ..." echo "Set mesh-vpn-tunneldigger feature ..."
fi fi
if [ "$vpn" == "fastd" ]; then if [ "$vpn" == "fastd" ]; then
sed -i "/^%A$/c\\\\tgluon-web-mesh-vpn-fastd \\\\" "$EXECDIR"/site.mk sed -i "/^%A$/c\\\\tweb-mesh-vpn-fastd \\\\" "$EXECDIR"/site.mk
echo "Set gluon-web-mesh-vpn-fastd package ..." echo "Set web-mesh-vpn-fastd feature ..."
fi fi
else else
echo "Placeholder %A not found" echo "Placeholder %A not found"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment