Nick aa43cb5e23
PortalAuth, Papers, and CursedScreech Updates (#87)
* Version 1.9

* Version 2.0

* Version 1.6

* Updated Papers to v2.0

* Replaced readKeys.sh with cfgNginx.py

* Fixed PKCS12 export bug

Co-authored-by: combsn <combsn@usc.edu>
2020-07-19 21:24:52 +01:00

30 lines
486 B
Bash
Executable File

#!/bin/sh
# Author: sud0nick
# Date: Dec 2016
if [ $# -eq 0 ]; then
exit;
fi
if [[ "$1" == "-check" ]]; then
testCurl=$(opkg list-installed | grep -w 'curl')
if [ -z "$testCurl" ]; then
echo "Not Installed";
else
echo "Installed";
fi
fi
if [[ "$1" == "-install" ]]; then
opkg update > /dev/null;
opkg install curl > /dev/null;
opkg install libcurl4 > /dev/null;
echo "Complete"
fi
if [[ "$1" == "-remove" ]]; then
opkg remove curl > /dev/null
echo "Complete"
fi