1
0
Fork 0
dotfiles/files.sh
2024-01-06 00:51:53 +04:00

52 lines
3.3 KiB
Bash

install_file root root 644 '/etc/htoprc' common
install_file root root 644 '/etc/tmux.conf' common
echo
install_dir root root 755 '/etc/vim'
install_file root root 644 '/etc/vim/vimrc.local' common
echo
install_dir root root 755 '/etc/fish'
install_dir root root 755 '/etc/fish/conf.d'
install_dir root root 755 '/etc/fish/functions'
install_file root root 644 '/etc/fish/config.fish' common
install_file root root 644 '/etc/fish/conf.d/rvm.fish' common
install_file root root 644 '/etc/fish/functions/fish_prompt.fish' common
install_file root root 644 '/etc/fish/functions/prompt_user_host.fish' common
install_file root root 644 '/etc/fish/functions/rvm.fish' common
if [ "$PREFIX" = 'gentoo' ]; then
echo
install_file root root 644 '/etc/ccache.conf' gentoo
install_file root root 644 '/etc/dracut.conf' gentoo
echo
install_file root root 644 '/etc/conf.d/display-manager' gentoo
install_file root root 644 '/etc/default/grub' gentoo
install_file root root 644 '/etc/env.d/70less' gentoo
install_file root root 644 '/etc/env.d/90xsession' gentoo
install_file root root 644 '/etc/pam.d/lightdm' gentoo
install_file root portage 644 '/var/lib/portage/world' gentoo
echo
install_dir root root 755 '/etc/portage/env'
install_dir root root 755 '/etc/portage/package.accept_keywords'
install_dir root root 755 '/etc/portage/package.env'
install_dir root root 755 '/etc/portage/package.license'
install_dir root root 755 '/etc/portage/package.mask'
install_dir root root 755 '/etc/portage/package.use'
install_dir root root 755 '/etc/portage/repos.conf'
install_file root root 644 '/etc/portage/env/ccache.conf' gentoo
install_file root root 644 '/etc/portage/make.conf' gentoo
install_file root root 644 '/etc/portage/package.accept_keywords/misc' gentoo
install_file root root 644 '/etc/portage/package.accept_keywords/netsurf' gentoo
install_file root root 644 '/etc/portage/package.env/ccache' gentoo
install_file root root 644 '/etc/portage/package.license/firmware' gentoo
install_file root root 644 '/etc/portage/package.license/media' gentoo
install_file root root 644 '/etc/portage/package.license/misc' gentoo
install_file root root 644 '/etc/portage/package.mask/binsrc' gentoo
install_file root root 644 '/etc/portage/package.mask/bloat' gentoo
install_file root root 644 '/etc/portage/package.mask/noupgrade' gentoo
install_file root root 644 '/etc/portage/package.use/desktop' gentoo
install_file root root 644 '/etc/portage/package.use/heavy_clients' gentoo
install_file root root 644 '/etc/portage/package.use/kernel' gentoo
install_file root root 644 '/etc/portage/package.use/toolchains' gentoo
install_file root root 644 '/etc/portage/package.use/zz-autounmask' gentoo
install_file root root 644 '/etc/portage/repos.conf/gentoo.conf' gentoo
fi