This commit is contained in:
2015-07-12 18:31:25 +05:30
parent 8f62fb263f
commit a8cd3dd705
4 changed files with 19 additions and 18 deletions
+12 -1
View File
@@ -9,13 +9,24 @@ EEE
exit 1;
fi
. $(dirname $(readlink -f $0))/../lib/installer_common;
appRoot=$(readlink -f $(dirname $(readlink -f $0))/.. );
. "$appRoot/lib/installer_common";
printPackages(){
cd $appDir/installer-scripts/packages;
ls;
}
updateSelf(){
$0 --install self;
}
installPackage(){
packageName=$2;
. "$appRoot/packages/$packageName";
mainInstaller;
}
case $1 in
--update)
updateSelf;