mirror of
https://github.com/harish2704/installer-scripts.git
synced 2026-09-10 06:11:08 +00:00
19 lines
410 B
Bash
Executable File
19 lines
410 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
. $(dirname $(readlink -f $0))/installer_common;
|
|
export appName='node-v0.12.7-linux-x64';
|
|
export installationPath="$appDir/$appName";
|
|
|
|
downloadPack(){
|
|
wget -c 'https://nodejs.org/dist/v0.12.7/node-v0.12.7-linux-x64.tar.gz';
|
|
}
|
|
|
|
installPack(){
|
|
tar -xzvf 'node-v0.12.7-linux-x64.tar.gz';
|
|
cd "$appName";
|
|
find ./bin -type f -or -type l -executable > 'binaries.lst';
|
|
}
|
|
|
|
|
|
mainInstaller;
|