[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 3581cf4 3/6: Use '--assume-yes' with scripted
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 3581cf4 3/6: Use '--assume-yes' with scripted apt-get |
Date: |
Fri, 27 Sep 2019 17:46:04 -0400 (EDT) |
branch: master
commit 3581cf4bc853f3f4c808d7fd5af8f4916816f728
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Use '--assume-yes' with scripted apt-get
Incidentally, dropped 'upgrade' because 'dist-upgrade' makes it
redundant.
---
lmi_setup_10.sh | 2 +-
lmi_setup_21.sh | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/lmi_setup_10.sh b/lmi_setup_10.sh
index a1945b5..1ad2552 100755
--- a/lmi_setup_10.sh
+++ b/lmi_setup_10.sh
@@ -29,7 +29,7 @@ assert_su
assert_not_chrooted
apt-get update
-apt-get install schroot debootstrap
+apt-get --assume-yes install schroot debootstrap
# Download all OS essentials. This step may be done a single time, and
# its tarball used repeatedly. The target ('/tmp/eraseme') directory
diff --git a/lmi_setup_21.sh b/lmi_setup_21.sh
index b312d36..6891515 100755
--- a/lmi_setup_21.sh
+++ b/lmi_setup_21.sh
@@ -108,6 +108,5 @@ EOF
# Apply any available upgrades:
-apt-get update
-apt-get upgrade
-apt-get dist-upgrade
+apt-get --assume-yes update
+apt-get --assume-yes dist-upgrade
- [lmi-commits] [lmi] master updated (5ae814c -> 9023b1f), Greg Chicares, 2019/09/27
- [lmi-commits] [lmi] master 4eed78d 1/6: Make downloaded scripts executable, Greg Chicares, 2019/09/27
- [lmi-commits] [lmi] master 4cb8695 5/6: Conserve bandwidth when creating multiple chroots, Greg Chicares, 2019/09/27
- [lmi-commits] [lmi] master 9023b1f 6/6: Create a normal user non-interactively, Greg Chicares, 2019/09/27
- [lmi-commits] [lmi] master 5080462 4/6: Expunge a redundant comment, Greg Chicares, 2019/09/27
- [lmi-commits] [lmi] master 3581cf4 3/6: Use '--assume-yes' with scripted apt-get,
Greg Chicares <=
- [lmi-commits] [lmi] master 4223506 2/6: Replace 'bsdtar' package with 'libarchive-tools', Greg Chicares, 2019/09/27