mirror of
https://github.com/harish2704/installer-scripts.git
synced 2026-09-10 06:11:08 +00:00
* Fix the logic of _generic installation script
* Add a fallback option to install from any git repository URL ( including local one )
This commit is contained in:
@@ -18,12 +18,10 @@ performDownloads(){
|
||||
}
|
||||
|
||||
doInstall(){
|
||||
|
||||
for i in $appName $installationPath; do
|
||||
if [ -d "$i" ]; then
|
||||
rm -rf "$i"
|
||||
fi
|
||||
done
|
||||
# Remove application dir if it already exists in installation path
|
||||
if [ -d "$installationPath" ]; then
|
||||
rm -rf "$installationPath"
|
||||
fi
|
||||
installPack;
|
||||
cd "$installTmp";
|
||||
mv "$appName" "$installationPath";
|
||||
|
||||
Reference in New Issue
Block a user