mirror of
https://github.com/LCPQ/quantum_package
synced 2024-08-24 21:41:46 +02:00
Remove opam_installer.sh after installing
This commit is contained in:
parent
7332f5c655
commit
00aa5b3cf5
@ -49,10 +49,14 @@ scripts/fetch_from_web.py "https://raw.github.com/ocaml/opam/master/shell/opam_i
|
||||
chmod +x opam_installer.sh
|
||||
echo N | ./opam_installer.sh ${QPACKAGE_ROOT}/bin
|
||||
|
||||
if [[ ! -f ${QPACKAGE_ROOT}/bin/opam ]]; then
|
||||
if [[ ! -f ${QPACKAGE_ROOT}/bin/opam ]]
|
||||
then
|
||||
echo "Installation of OPAM failed"
|
||||
exit 2
|
||||
else
|
||||
rm "opam_installer.sh"
|
||||
fi
|
||||
|
||||
${QPACKAGE_ROOT}/bin/opam config setup -a --dot-profile ${QPACKAGE_ROOT}/quantum_package.rc
|
||||
|
||||
source ${QPACKAGE_ROOT}/quantum_package.rc
|
||||
|
Loading…
Reference in New Issue
Block a user