summaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'tasks')
-rw-r--r--tasks/bootstrap.task.sh2
-rw-r--r--tasks/update.task.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/tasks/bootstrap.task.sh b/tasks/bootstrap.task.sh
index 2f0624b..7372c7e 100644
--- a/tasks/bootstrap.task.sh
+++ b/tasks/bootstrap.task.sh
@@ -42,6 +42,6 @@ bootstrap () {
echo " update package list"
# update package list
- chroot-exec aptitude update >> $BROOT_LOG.$ME
+ chroot-exec apt-get update >> $BROOT_LOG.$ME
echo " finished all for bootstrap"
}
diff --git a/tasks/update.task.sh b/tasks/update.task.sh
index f6ec089..de1c5b1 100644
--- a/tasks/update.task.sh
+++ b/tasks/update.task.sh
@@ -3,8 +3,8 @@ update_package_dependencies="bootstrap"
update() {
ME=update
echo " Refresh apt sources"
- chroot-exec aptitude update > $DEBUG.$ME 2>&1
+ chroot-exec apt-get update > $DEBUG.$ME 2>&1
echo -n " Running system update "
- chroot-exec aptitude -y safe-upgrade | tee -a - $DEBUG.$ME | awk '{printf "."}' 2>&1
+ chroot-exec apt-get -y upgrade | tee -a - $DEBUG.$ME | awk '{printf "."}' 2>&1
echo "done"
}