projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of feistymeow.org:feisty_meow
[feisty_meow.git]
/
scripts
/
system
/
naive_system_updater.sh
diff --git
a/scripts/system/naive_system_updater.sh
b/scripts/system/naive_system_updater.sh
index 7790fe884fe87a03602939d89a10c29aebf0306b..cf9cbf898228ec2908c65cef9673fd5ce8aa4232 100644
(file)
--- a/
scripts/system/naive_system_updater.sh
+++ b/
scripts/system/naive_system_updater.sh
@@
-2,7
+2,7
@@
source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
sudo apt-get update -y
source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
sudo apt-get update -y
-
test_or_die
"problem while doing 'apt-get update'"
+
exit_on_error
"problem while doing 'apt-get update'"
# newest magic to tell dpkg to go with existing config files and force non-interactive version.
sudo bash -c "\
# newest magic to tell dpkg to go with existing config files and force non-interactive version.
sudo bash -c "\
@@
-10,6
+10,6
@@
sudo bash -c "\
apt-get dist-upgrade -y -o Dpkg::Options::=\"--force-confdef\" \
-o Dpkg::Options::=\"--force-confold\"; \
"
apt-get dist-upgrade -y -o Dpkg::Options::=\"--force-confdef\" \
-o Dpkg::Options::=\"--force-confold\"; \
"
-
test_or_die
"problem while doing 'apt-get dist-upgrade'"
+
exit_on_error
"problem while doing 'apt-get dist-upgrade'"