Improve dependency installer check

pull/8/head
IMcPwn 2015-09-26 21:04:14 -04:00
parent 20717783ba
commit 4b2ceea9f3
1 changed files with 2 additions and 2 deletions

View File

@ -11,11 +11,11 @@ AUTHOR=IMcPwn
: ${DIALOG_ESC=255}
function start {
if [ ! -s /usr/bin/git ]; then
if [[ ! $(opkg list-installed | grep git) ]]; then
opkg update && opkg install git
fi
if [ ! -s /usr/lib/python2.7/sqlite3/dbapi2.py ]; then
if [[ ! $(opkg list-installed | grep python-sqlite3) ]]; then
opkg update && opkg install python-sqlite3
fi