Skip to content

Commit 3f40a8b

Browse files
Pranav NaiknavarePranav Naiknavare
authored andcommitted
updated install
1 parent ea36340 commit 3f40a8b

1 file changed

Lines changed: 2 additions & 29 deletions

File tree

install.sh

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,5 @@
11
#!/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-
2+
opkg install ./python_setup/*.ipk
3+
opkg install ./custom_setup/*.ipk
314
exit 0
325

0 commit comments

Comments
 (0)