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
parent
78d900cff2
commit
7ea0c30f98
|
@ -0,0 +1,2 @@
|
|||
October 18, 2019<br /></br >
|
||||
- Fixed dependencies scripts to work with latest firmware<br />
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
"tetra"
|
||||
],
|
||||
"title": "Papers",
|
||||
"version": "1.7"
|
||||
}
|
||||
"version": "1.8"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue