mirror of
https://github.com/harish2704/installer-scripts.git
synced 2026-09-10 06:11:08 +00:00
Fix:
This commit is contained in:
@@ -25,13 +25,10 @@ updateSelf(){
|
|||||||
$0 install self;
|
$0 install self;
|
||||||
}
|
}
|
||||||
|
|
||||||
checkGeneric(){
|
|
||||||
packageName=$1;
|
|
||||||
}
|
|
||||||
|
|
||||||
installPackage(){
|
installPackage(){
|
||||||
packageName=$1;
|
packageName=$1;
|
||||||
if [ -z ${packageName%*/} -o $packageName = ${packageName%*/} ];then
|
if [ -z ${packageName%/*} -o $packageName = ${packageName%/*} ];then
|
||||||
. "$appRoot/packages/$packageName";
|
. "$appRoot/packages/$packageName";
|
||||||
else
|
else
|
||||||
. "$appRoot/packages/_generic";
|
. "$appRoot/packages/_generic";
|
||||||
|
|||||||
Reference in New Issue
Block a user