mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
Spelling check.
This commit is contained in:
parent
153a9d8ac7
commit
96c59fada4
2 changed files with 3 additions and 3 deletions
|
@ -692,7 +692,7 @@ enable_service() {
|
||||||
echo " done."
|
echo " done."
|
||||||
}
|
}
|
||||||
|
|
||||||
update_pacakge_cache() {
|
update_package_cache() {
|
||||||
#Running apt-get update/upgrade with minimal output can cause some issues with
|
#Running apt-get update/upgrade with minimal output can cause some issues with
|
||||||
#requiring user input (e.g password for phpmyadmin see #218)
|
#requiring user input (e.g password for phpmyadmin see #218)
|
||||||
|
|
||||||
|
@ -1128,7 +1128,7 @@ main() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Update package cache
|
# Update package cache
|
||||||
update_pacakge_cache
|
update_package_cache
|
||||||
|
|
||||||
# Notify user of package availability
|
# Notify user of package availability
|
||||||
notify_package_updates_available
|
notify_package_updates_available
|
||||||
|
|
|
@ -278,7 +278,7 @@ def test_update_package_cache_success_no_errors(Pihole):
|
||||||
''' confirms package cache was updated without any errors'''
|
''' confirms package cache was updated without any errors'''
|
||||||
updateCache = Pihole.run('''
|
updateCache = Pihole.run('''
|
||||||
source /opt/pihole/basic-install.sh
|
source /opt/pihole/basic-install.sh
|
||||||
update_pacakge_cache
|
update_package_cache
|
||||||
''')
|
''')
|
||||||
assert 'Updating local cache of available packages...' in updateCache.stdout
|
assert 'Updating local cache of available packages...' in updateCache.stdout
|
||||||
assert 'done!' in updateCache.stdout
|
assert 'done!' in updateCache.stdout
|
||||||
|
|
Loading…
Reference in a new issue