fixed post-install script locations
This commit is contained in:
parent
63cb56fa19
commit
4760855555
1 changed files with 5 additions and 5 deletions
|
|
@ -184,23 +184,23 @@ install(){
|
||||||
clone-repo "https://github.com/$repo" "${installdir}/repositories/${repo#*/}"
|
clone-repo "https://github.com/$repo" "${installdir}/repositories/${repo#*/}"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
pushd "repositories/${repo#*/}"
|
pushd "${installdir}/repositories/${repo#*/}"
|
||||||
if [[ ${VERSIONS[${repo#*/}]} =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
if [[ ${VERSIONS[${repo#*/}]} =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||||
echo "Version tag detected: ${VERSIONS[${repo#*/}]}"
|
echo "Version tag detected: ${VERSIONS[${repo#*/}]}"
|
||||||
git checkout "${VERSIONS[${repo#*/}]}"
|
git checkout "${VERSIONS[${repo#*/}]}"
|
||||||
else
|
else
|
||||||
echo "Commit hash detected: ${VERSIONS[${repo#*/}]}"
|
echo "Branch Name / Commit hash detected: ${VERSIONS[${repo#*/}]}"
|
||||||
git checkout -q "${VERSIONS[${repo#*/}]}"
|
git checkout -q "${VERSIONS[${repo#*/}]}"
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
pushd $installdir/Proteus
|
pushd $installdir/repositories/Proteus
|
||||||
run sudo python3 ruleMgr.py && logger echo "Proteus Initialized..."
|
run sudo python3 ruleMgr.py && logger echo "Proteus Initialized..."
|
||||||
popd
|
popd
|
||||||
pushd $installdir/Slipstream
|
pushd $installdir/repositories/Slipstream
|
||||||
run $installdir/CodeDog/codeDog ./Slipstream.dog && logger echo "Slipstream app built at ${installdir}/Slipstream/LinuxBuild"
|
run $installdir/repositories/CodeDog/codeDog ./Slipstream.dog && logger echo "Slipstream app built at ${installdir}/repositories/Slipstream/LinuxBuild"
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue