Added echos for easier debugging

This commit is contained in:
Nick Yeoman 2023-12-19 13:30:40 -08:00
parent 040e7783a8
commit 45d79b8084

View File

@ -1,24 +1,26 @@
#!/bin/bash #!/bin/bash
# Are you root? # Are you root?
if [ "$EUID" -ne 0 ]; then if [ "$EUID" -ne 0 ]; then
echo -e "\033[0;31mThis script must be run as root.\033[0m" echo -e "\033[0;31mThis script must be run as root.\033[0m"
exit 1 exit 1
fi fi
# Template echo "Astroid Framework (Template)"
# [GitHub](https://github.com/templaza/astroid-framework) # [GitHub](https://github.com/templaza/astroid-framework)
docker-compose exec -u www-data joomla php cli/joomla.php extension:install --url=hhttps://github.com/templaza/astroid-framework/releases/download/v3.0.7/astroid-framework-3.0.7.zip docker-compose exec -u www-data joomla php cli/joomla.php extension:install --url=hhttps://github.com/templaza/astroid-framework/releases/download/v3.0.7/astroid-framework-3.0.7.zip
# Sitemap echo "OSMap (Sitemap)"
# [GitHub](https://github.com/joomlashack/OSMap) # [GitHub](https://github.com/joomlashack/OSMap)
docker-compose exec -u www-data joomla php cli/joomla.php extension:install --url=https://github.com/joomlashack/OSMap/releases/download/v5.0.15/com_osmap_free_5.0.15.zip docker-compose exec -u www-data joomla php cli/joomla.php extension:install --url=https://github.com/joomlashack/OSMap/releases/download/v5.0.15/com_osmap_free_5.0.15.zip
# Comments echo "Akeeba Engage (Comments)"
# [Download page](https://www.akeeba.com/download/engage/3-2-5.html) # [Download page](https://www.akeeba.com/download/engage/3-2-5.html)
# [Github](https://github.com/akeeba/engage) # [Github](https://github.com/akeeba/engage)
docker-compose exec -u www-data joomla php cli/joomla.php extension:install --url=https://www.akeeba.com/download/engage/3-3-3/pkg-engage-3-3-3-zip.zip docker-compose exec -u www-data joomla php cli/joomla.php extension:install --url=https://www.akeeba.com/download/engage/3-3-3/pkg-engage-3-3-3-zip.zip
# Contact Form echo "Mavro Contact Form"
# [GitHub](https://github.com/mavrosxristoforos/rapid-contact) # [GitHub](https://github.com/mavrosxristoforos/rapid-contact)
docker-compose exec -u www-data joomla php cli/joomla.php extension:install --url=https://github.com/mavrosxristoforos/rapid-contact/releases/download/1.4.37/mod_rapid_contact.zip docker-compose exec -u www-data joomla php cli/joomla.php extension:install --url=https://github.com/mavrosxristoforos/rapid-contact/releases/download/1.4.37/mod_rapid_contact.zip
echo "END installing extensions"