Papers: Fixed dependencies scripts for latest fw 2.6.x (#83)

* Fixed dependencies scripts

Signed-off-by: Andreas Nilsen <adde88@gmail.com>

* Bump to v1.8

Signed-off-by: Andreas Nilsen <adde88@gmail.com>
2.7.0
Andreas Nilsen 2019-10-25 04:11:54 +02:00 committed by Marc
parent 78d900cff2
commit 7ea0c30f98
5 changed files with 17 additions and 9 deletions

View File

@ -0,0 +1,2 @@
October 18, 2019<br /></br >
- Fixed dependencies scripts to work with latest firmware<br />

View File

@ -2,8 +2,9 @@
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" ]; then
if [ -z "$testZip" -a -z "$testNginxssl" ]; then
echo "Not Installed";
else
if [ -z "$testUnzip" ]; then

View File

@ -1,8 +1,11 @@
#!/bin/sh
# Author: sud0nick
# Date: Jan 2016
# Author: sud0nick & adde88
# Date: 18.10.2019
opkg update > /dev/null;
opkg install zip unzip > /dev/null;
/etc/init.d/nginx stop > /dev/null;
opkg remove nginx > /dev/null;
opkg install zip unzip nginx-ssl > /dev/null;
/etc/init.d/nginx restart > /dev/null;
echo "Complete"

View File

@ -1,6 +1,8 @@
#!/bin/sh
# Author: sud0nick
# Date: Jan 2016
# Author: sud0nick & adde88
# Date: 18.10.2019
opkg remove zip unzip > /dev/null;
/etc/init.d/nginx stop > /dev/null;
opkg remove zip unzip nginx-ssl > /dev/null;
opkg install nginx > /dev/null;

View File

@ -6,5 +6,5 @@
"tetra"
],
"title": "Papers",
"version": "1.7"
}
"version": "1.8"
}