Start test templates.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -701,8 +701,9 @@ update_pacakge_cache() {
|
||||
|
||||
echo ":::"
|
||||
echo -n "::: Updating local cache of available packages..."
|
||||
${UPDATE_PKG_CACHE} &> /dev/null
|
||||
echo " done!"
|
||||
if ${UPDATE_PKG_CACHE}; then
|
||||
echo " done!"
|
||||
fi
|
||||
}
|
||||
|
||||
notify_package_updates_available() {
|
||||
@@ -1127,7 +1128,7 @@ main() {
|
||||
fi
|
||||
|
||||
# Update package cache
|
||||
update_pacakge_cache
|
||||
update_package_cache
|
||||
|
||||
# Notify user of package availability
|
||||
notify_package_updates_available
|
||||
|
Reference in New Issue
Block a user