This commit is contained in:
2016-01-02 19:00:45 +05:30
parent 57aaa8c4c0
commit b5ff8563c8
+1 -4
View File
@@ -25,13 +25,10 @@ updateSelf(){
$0 install self;
}
checkGeneric(){
packageName=$1;
}
installPackage(){
packageName=$1;
if [ -z ${packageName%*/} -o $packageName = ${packageName%*/} ];then
if [ -z ${packageName%/*} -o $packageName = ${packageName%/*} ];then
. "$appRoot/packages/$packageName";
else
. "$appRoot/packages/_generic";