23 lines
416 B
Bash
23 lines
416 B
Bash
# Profile
|
|
|
|
export VER_install_profile="0.0.1"
|
|
|
|
install_profile()
|
|
{
|
|
installfile ansi_shadow.flf /usr/share/figlet/ansi_shadow.flf
|
|
for usr in /root /home/*; do
|
|
backupdist $usr/{,.}profile $usr/.bashrc
|
|
installfile {{.,}profile,.bashrc} $usr/
|
|
done
|
|
backupdist /etc/motd
|
|
installfile motd /etc/motd
|
|
}
|
|
|
|
precheck_install_profile()
|
|
{
|
|
:
|
|
}
|
|
|
|
export -f install_profile
|
|
export -f precheck_install_profile
|