mirror of
https://github.com/hak5/nano-tetra-modules.git
synced 2025-10-29 16:58:09 +00:00
* Fixed dependencies scripts Signed-off-by: Andreas Nilsen <adde88@gmail.com> * Bump to v1.8 Signed-off-by: Andreas Nilsen <adde88@gmail.com>
16 lines
332 B
Bash
Executable File
16 lines
332 B
Bash
Executable File
#!/bin/sh
|
|
|
|
testZip=$(opkg list-installed | grep -w 'zip')
|
|
testUnzip=$(opkg list-installed | grep -w 'unzip')
|
|
testNginxssl=$(opkg list-installed | grep -w 'nginx-ssl')
|
|
|
|
if [ -z "$testZip" -a -z "$testNginxssl" ]; then
|
|
echo "Not Installed";
|
|
else
|
|
if [ -z "$testUnzip" ]; then
|
|
echo "Not Installed";
|
|
else
|
|
echo "Installed";
|
|
fi
|
|
fi
|