bump to version 0.99.18
This commit is contained in:
@@ -8,11 +8,12 @@
|
||||
# https://opensource.org/licenses/BSD-3-Clause
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
export VER_install_profile="0.0.6"
|
||||
export VER_install_profile="0.0.7"
|
||||
export DEP_install_profile="install_pkg"
|
||||
|
||||
install_profile()
|
||||
{
|
||||
prnt I "Installing ansi_shadow font for figlet..."
|
||||
install_file profile/ansi_shadow.flf /usr/share/figlet/ansi_shadow.flf
|
||||
|
||||
local usrlist="/root"
|
||||
@@ -21,6 +22,7 @@ install_profile()
|
||||
fi
|
||||
|
||||
for usr in $usrlist; do
|
||||
prnt I "Installing profile for user $usr..."
|
||||
backup_dist $usr/{.,}profile $usr/.bashrc
|
||||
install_file profile/{{.,}profile,.bashrc} $usr/
|
||||
tag_file $usr/{{.,}profile,.bashrc}
|
||||
@@ -29,6 +31,7 @@ install_profile()
|
||||
done
|
||||
unset usrlist
|
||||
|
||||
prnt I "Installing motd..."
|
||||
backup_dist /etc/motd
|
||||
install_file profile/motd /etc/motd
|
||||
tag_file /etc/motd
|
||||
@@ -36,7 +39,7 @@ install_profile()
|
||||
|
||||
precheck_install_profile()
|
||||
{
|
||||
file_must_exists profile/{{.,}profile,.bashrc,.tmux/.tmux.conf{,.local}}
|
||||
file_must_exists profile/{motd,{.,}profile,.bashrc,.tmux/.tmux.conf{,.local}}
|
||||
}
|
||||
|
||||
export -f install_profile
|
||||
|
||||
Reference in New Issue
Block a user