diff options
author | Jonas Bjurel <jonas.bjurel@ericsson.com> | 2015-10-02 13:29:56 +0200 |
---|---|---|
committer | Jonas Bjurel <jonas.bjurel@ericsson.com> | 2015-10-02 13:32:52 +0200 |
commit | 0d4a1f4143d71fc616f456a3708d5c8c2a24ec3f (patch) | |
tree | 9b4aa7855b2e951d84bfc1e2032c258cd3be4787 /fuel/build/f_isoroot/f_bootstrap/post-scripts/03_install_repo.sh | |
parent | e99a391f42c4a38ab358cba6238d77ea828e6d4f (diff) |
Move of genesis/fuel master branch: commit 563547b4a9f44090f32c0e17d040114854563760
Note: other installers and /common are removed
Change-Id: Ie5a2b0b7f3e7fa2eda191710c98456eeec17ed61
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
Diffstat (limited to 'fuel/build/f_isoroot/f_bootstrap/post-scripts/03_install_repo.sh')
-rwxr-xr-x | fuel/build/f_isoroot/f_bootstrap/post-scripts/03_install_repo.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/fuel/build/f_isoroot/f_bootstrap/post-scripts/03_install_repo.sh b/fuel/build/f_isoroot/f_bootstrap/post-scripts/03_install_repo.sh new file mode 100755 index 000000000..427a55add --- /dev/null +++ b/fuel/build/f_isoroot/f_bootstrap/post-scripts/03_install_repo.sh @@ -0,0 +1,19 @@ +#/bin/sh +echo "Installing pre-build repo" +if [ ! -d /opt/opnfv/nailgun ]; then + echo "Error - found no repo!" + exit 1 +fi + +mkdir -p /var/www/nailgun +mv /opt/opnfv/nailgun/* /var/www/nailgun +if [ $? -ne 0 ]; then + echo "Error moving repos to their correct location!" + exit 1 +fi +rmdir /opt/opnfv/nailgun +if [ $? -ne 0 ]; then + echo "Error removing /opt/opnfv/nailgun directory!" + exit 1 +fi +echo "Done installing pre-build repo" |