mirror of
https://github.com/fbelavenuto/arpl.git
synced 2025-12-24 14:52:05 +08:00
Adding ixgbe addon
This commit is contained in:
@@ -21,13 +21,13 @@ unzip /tmp/rp-lkms.zip -d files/board/arpl/p3/lkms
|
||||
|
||||
# Get latest addons and install its
|
||||
echo "Getting latest Addons"
|
||||
mkdir -p /tmp/addons
|
||||
if [ -d ../arpl-addons ]; then
|
||||
cp ../arpl-addons/*.addon /tmp/addons/
|
||||
else
|
||||
TAG=`curl -s https://api.github.com/repos/fbelavenuto/arpl-addons/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}'`
|
||||
curl -L "https://github.com/fbelavenuto/arpl-addons/releases/download/${TAG}/addons.zip" -o /tmp/addons.zip
|
||||
rm -rf /tmp/addons
|
||||
mkdir -p /tmp/addons
|
||||
unzip /tmp/addons.zip -d /tmp/addons
|
||||
fi
|
||||
DEST_PATH="files/board/arpl/p3/addons"
|
||||
|
||||
Reference in New Issue
Block a user