From d73439bbb29770bbd1e2cf3236ae7ac56db42f40 Mon Sep 17 00:00:00 2001 From: levasseur Date: Fri, 8 Oct 2021 15:38:30 +0200 Subject: [PATCH] install_profile: do not treat motd, simplification of copy command --- modules/install_profile.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/install_profile.sh b/modules/install_profile.sh index 44b3faf..8609e17 100644 --- a/modules/install_profile.sh +++ b/modules/install_profile.sh @@ -8,7 +8,7 @@ # https://opensource.org/licenses/BSD-3-Clause # ------------------------------------------------------------------------------ -export VER_install_profile="0.0.2" +export VER_install_profile="0.0.3" export DEP_install_profile="install_pkg" install_profile() @@ -23,12 +23,9 @@ install_profile() # Create a dir in home so /home/* is always interpreted correctly for usr in $usrlist; do backupdist $usr/{,.}profile $usr/.bashrc - installfile {{.,}profile,.bashrc} $usr/ + installfile {.,}profile .bashrc $usr/ done unset usrlist - - backupdist /etc/motd - installfile motd /etc/motd } precheck_install_profile()