Skip to content

Commit ea36340

Browse files
Pranav NaiknavarePranav Naiknavare
authored andcommitted
Added install
1 parent 7efb050 commit ea36340

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

install.sh

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/bin/sh
2+
3+
# Install IPKs from python_setup directory
4+
if [ -d "./python_setup" ]; then
5+
echo "Installing IPKs from ./python_setup..."
6+
for ipk in ./python_setup/*.ipk; do
7+
if [ -f "$ipk" ]; then
8+
opkg install "$ipk"
9+
else
10+
echo "Warning: File not found: $ipk"
11+
fi
12+
done
13+
else
14+
echo "Warning: ./python_setup directory not found."
15+
fi
16+
17+
# Install IPKs from custom_setup directory
18+
if [ -d "./custom_setup" ]; then
19+
echo "Installing IPKs from ./custom_setup..."
20+
for ipk in ./custom_setup/*.ipk; do
21+
if [ -f "$ipk" ]; then
22+
opkg install "$ipk"
23+
else
24+
echo "Warning: File not found: $ipk"
25+
fi
26+
done
27+
else
28+
echo "Warning: ./custom_setup directory not found."
29+
fi
30+
31+
exit 0
32+

0 commit comments

Comments
 (0)