summaryrefslogtreecommitdiffstats
path: root/tasks/update.task.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/update.task.sh')
-rw-r--r--tasks/update.task.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tasks/update.task.sh b/tasks/update.task.sh
new file mode 100644
index 0000000..f6ec089
--- /dev/null
+++ b/tasks/update.task.sh
@@ -0,0 +1,10 @@
+update_package_dependencies="bootstrap"
+
+update() {
+ ME=update
+ echo " Refresh apt sources"
+ chroot-exec aptitude update > $DEBUG.$ME 2>&1
+ echo -n " Running system update "
+ chroot-exec aptitude -y safe-upgrade | tee -a - $DEBUG.$ME | awk '{printf "."}' 2>&1
+ echo "done"
+}