mirror of
https://github.com/harish2704/installer-scripts.git
synced 2026-09-10 06:11:08 +00:00
Refactor
This commit is contained in:
@@ -29,13 +29,6 @@ doInstall(){
|
||||
mv "$appName" "$installationPath";
|
||||
}
|
||||
|
||||
mainInstaller(){
|
||||
checkPaths;
|
||||
performDownloads;
|
||||
doInstall;
|
||||
updateBinLinks;
|
||||
}
|
||||
|
||||
updateBinLinks(){
|
||||
cd $localBinDir;
|
||||
for i in $(find "$appDir" -name 'binaries.lst'); do
|
||||
@@ -45,4 +38,9 @@ updateBinLinks(){
|
||||
done;
|
||||
}
|
||||
|
||||
|
||||
mainInstaller(){
|
||||
checkPaths;
|
||||
performDownloads;
|
||||
doInstall;
|
||||
updateBinLinks;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user