fix some things

This commit is contained in:
Jake Howard 2016-02-09 22:49:59 +00:00
parent 75bf093826
commit 6753580ae5
3 changed files with 8 additions and 3 deletions

View file

@ -14,6 +14,7 @@ EXEC_ORDER = [
run_custom_installs, run_custom_installs,
update, update,
apt_install_extras, apt_install_extras,
source,
install_atom_packages, install_atom_packages,
export_atom_config, export_atom_config,
install_configs install_configs

0
apt/custom-installs.sh Normal file → Executable file
View file

View file

@ -52,14 +52,18 @@ def install_atom_packages():
def export_atom_config(): def export_atom_config():
os.mkdir("~/.atom/") os.makedirs("~/.atom", exist_ok=True)
os.system("cp -R atom/* ~/.atom/") os.system("cp -R atom/* ~/.atom/")
def install_configs(): def install_configs():
os.mkdir("~/.config/terminator/") os.makedirs("~/.config/terminator/", exist_ok=True)
shutil.copyfile(DIR + "/config/terminator.conf", "~/.config/terminator/config") shutil.copyfile(DIR + "/config/terminator.conf", "~/.config/terminator/config")
shutil.copyfile(DIR + "/bash/.bash_aliases", "~/.bashrc") shutil.copyfile(DIR + "/bash/.bash_aliases", "~/.bash_aliases")
def source():
os.system(". ~/.bashrc")
if __name__ == '__main__': if __name__ == '__main__':