added careful error checking to rev control
[feisty_meow.git] / scripts / system / naive_system_updater.sh
index 08cd526647dad3869d960888c92a576542cfdc68..b15d0efef2cb9905869811af115eb70faed09acb 100644 (file)
@@ -2,9 +2,9 @@
 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
 
 sudo apt-get update -y
-check_result "problem while doing 'apt-get update'"
+test_or_die "problem while doing 'apt-get update'"
 # new magic to tell dpkg to go with existing config files.  let's see if it works!
 sudo apt-get dist-upgrade -y -o Dpkg::Options::="--force-confold"
-check_result "problem while doing 'apt-get dist-upgrade'"
+test_or_die "problem while doing 'apt-get dist-upgrade'"