lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master dc2ccdb 14/18: Rearrange independent script b


From: Greg Chicares
Subject: [lmi-commits] [lmi] master dc2ccdb 14/18: Rearrange independent script blocks
Date: Thu, 21 May 2020 19:43:12 -0400 (EDT)

branch: master
commit dc2ccdb4a87e589caa44218fa0fc11dc130aa4ae
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Rearrange independent script blocks
    
    Set centos chroot's own dot files as soon as it has been created.
---
 install_centos.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/install_centos.sh b/install_centos.sh
index 82f7e22..0bc975d 100755
--- a/install_centos.sh
+++ b/install_centos.sh
@@ -124,8 +124,6 @@ cp -a /tmp/schroot_env /srv/chroot/centos7lmi/tmp
 cp -a lmi_setup_*.sh   /srv/chroot/centos7lmi/tmp
 cp -a install_centos_* /srv/chroot/centos7lmi/tmp
 
-schroot --chroot=centos7lmi --user=root --directory=/tmp ./install_centos_1.sh
-
 cp -a ~/.vimrc /srv/chroot/centos7lmi/root/.vimrc
 cp -a ~/.vimrc /srv/chroot/centos7lmi/home/"${NORMAL_USER}"/.vimrc || echo 
"Huh?"
 
@@ -139,6 +137,8 @@ cp -a ~/.zshrc 
/srv/chroot/centos7lmi/home/"${NORMAL_USER}"/.zshrc || echo "Huh?
 # If that works well, then treat vim configuration the same way,
 # here and elsewhere.
 
+schroot --chroot=centos7lmi --user=root --directory=/tmp ./install_centos_1.sh
+
 # BEGIN ./lmi_setup_13.sh
 mkdir -p /srv/cache_for_lmi
 du   -sb /srv/chroot/centos7lmi/srv/cache_for_lmi || echo "Okay."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]