|
@ -31,7 +31,7 @@ checkGeneric(){ |
|
|
|
|
|
|
|
|
installPackage(){ |
|
|
installPackage(){ |
|
|
packageName=$1; |
|
|
packageName=$1; |
|
|
if [ -z ${packageName%*/} ];then |
|
|
|
|
|
|
|
|
if [ -z ${packageName%*/} -o $packageName = ${packageName%*/} ];then |
|
|
. "$appRoot/packages/$packageName"; |
|
|
. "$appRoot/packages/$packageName"; |
|
|
else |
|
|
else |
|
|
. "$appRoot/packages/_generic"; |
|
|
. "$appRoot/packages/_generic"; |
|
|