mirror of
https://github.com/LCPQ/quantum_package
synced 2025-01-05 11:00:10 +01: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
|
chmod +x opam_installer.sh
|
||||||
echo N | ./opam_installer.sh ${QPACKAGE_ROOT}/bin
|
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"
|
echo "Installation of OPAM failed"
|
||||||
exit 2
|
exit 2
|
||||||
|
else
|
||||||
|
rm "opam_installer.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
${QPACKAGE_ROOT}/bin/opam config setup -a --dot-profile ${QPACKAGE_ROOT}/quantum_package.rc
|
${QPACKAGE_ROOT}/bin/opam config setup -a --dot-profile ${QPACKAGE_ROOT}/quantum_package.rc
|
||||||
|
|
||||||
source ${QPACKAGE_ROOT}/quantum_package.rc
|
source ${QPACKAGE_ROOT}/quantum_package.rc
|
||||||
|
Loading…
Reference in New Issue
Block a user