added tagfile and make use of it in modules
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
# https://opensource.org/licenses/BSD-3-Clause
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
export VER_install_profile="0.0.4"
|
||||
export VER_install_profile="0.0.5"
|
||||
export DEP_install_profile="install_pkg"
|
||||
|
||||
install_profile()
|
||||
@@ -23,12 +23,15 @@ install_profile()
|
||||
for usr in $usrlist; do
|
||||
backupdist $usr/{.,}profile $usr/.bashrc
|
||||
installfile profile/{{.,}profile,.bashrc} $usr/
|
||||
tagfile $usr/{{.,}profile,.bashrc}
|
||||
installfile profile/.tmux/.tmux.conf{,.local} $usr/
|
||||
tagfile $usr/profile/.tmux/.tmux.conf{,.local}
|
||||
done
|
||||
unset usrlist
|
||||
|
||||
backupdist /etc/motd
|
||||
installfile profile/motd /etc/motd
|
||||
tagfile /etc/motd
|
||||
}
|
||||
|
||||
precheck_install_profile()
|
||||
|
||||
Reference in New Issue
Block a user