Commits (1)
......@@ -296,6 +296,20 @@ function download_image() {
then
git clone ${CUBE_BUILD_SCRIPT_LOCATION} ${CUBE_BUILD_SCRIPT_DIR}
git -C ${CUBE_BUILD_SCRIPT_DIR} checkout ${CUBE_BUILD_SCRIPT_REVISION}
# Here we add neutrinet specific stuff to the hypercube.sh script
# TODO: see if we can integrate such a thing via the hypercube.install
hyperscript=$CUBE_BUILD_SCRIPT_DIR/script/hypercube/hypercube.sh
sed -i '$ d' $hyperscript #The script ends with an exit 0 so we remove it here
cat >> $hyperscript << EOF
info "Adding neutrinet specifics..."
yunohost app fetchlist -n neutrinet -u https://neutrinet.be/apps.json --debug &>> \$log_file
yunohost app fetchlist --debug &>> \$log_file
yunohost app install neutrinet --debug &>> \$log_file
exit 0
EOF
fi
echo
......