diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 1b643c18..003cd312 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -692,7 +692,7 @@ enable_service() { echo " done." } -update_pacakge_cache() { +update_package_cache() { #Running apt-get update/upgrade with minimal output can cause some issues with #requiring user input (e.g password for phpmyadmin see #218) @@ -1128,7 +1128,7 @@ main() { fi # Update package cache - update_pacakge_cache + update_package_cache # Notify user of package availability notify_package_updates_available diff --git a/test/test_automated_install.py b/test/test_automated_install.py index 7f287c8f..c502aef6 100644 --- a/test/test_automated_install.py +++ b/test/test_automated_install.py @@ -278,7 +278,7 @@ def test_update_package_cache_success_no_errors(Pihole): ''' confirms package cache was updated without any errors''' updateCache = Pihole.run(''' source /opt/pihole/basic-install.sh - update_pacakge_cache + update_package_cache ''') assert 'Updating local cache of available packages...' in updateCache.stdout assert 'done!' in updateCache.stdout