Efficiency
This commit is contained in:
parent
a278dba74e
commit
ff5e7a9f7d
4 changed files with 9 additions and 10 deletions
|
@ -11,8 +11,9 @@ EXEC_ORDER = [
|
||||||
add_apt_sources,
|
add_apt_sources,
|
||||||
add_apt_repos,
|
add_apt_repos,
|
||||||
update,
|
update,
|
||||||
apt_install_extras,
|
|
||||||
run_custom_installs,
|
run_custom_installs,
|
||||||
|
update,
|
||||||
|
apt_install_extras,
|
||||||
install_atom_packages,
|
install_atom_packages,
|
||||||
export_atom_config,
|
export_atom_config,
|
||||||
install_configs
|
install_configs
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
"insync",
|
"insync",
|
||||||
"kodi",
|
"kodi",
|
||||||
"mutate",
|
"mutate",
|
||||||
|
"nodejs",
|
||||||
"owncloud-client",
|
"owncloud-client",
|
||||||
"virtualbox-5.0",
|
"virtualbox-5.0",
|
||||||
"zeal"
|
"zeal"
|
||||||
|
|
|
@ -12,11 +12,6 @@ echo ">> Installing Packages..."
|
||||||
dpkg -i atom.deb
|
dpkg -i atom.deb
|
||||||
dpkg -i astrill.deb
|
dpkg -i astrill.deb
|
||||||
|
|
||||||
|
|
||||||
echo ">> Installing Apt Packages"
|
|
||||||
apt-get install nodejs -y
|
|
||||||
|
|
||||||
|
|
||||||
echo ">> Installing other packages..."
|
echo ">> Installing other packages..."
|
||||||
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash
|
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash
|
||||||
wget -O - https://raw.githubusercontent.com/nvbn/thefuck/master/install.sh | sh - && $0
|
wget -O - https://raw.githubusercontent.com/nvbn/thefuck/master/install.sh | sh - && $0
|
||||||
|
|
|
@ -19,8 +19,8 @@ def apt_upgrade():
|
||||||
|
|
||||||
|
|
||||||
def apt_install_core():
|
def apt_install_core():
|
||||||
for package in _get_json('/apt/apt-installs-core.json'):
|
packages = " ".join(_get_json('/apt/apt-installs-core.json')):
|
||||||
os.system("apt-get install {} -y".format(package))
|
os.system("apt-get install {} -y".format(packages))
|
||||||
|
|
||||||
|
|
||||||
def add_apt_keys():
|
def add_apt_keys():
|
||||||
|
@ -38,8 +38,8 @@ def add_apt_repos():
|
||||||
|
|
||||||
|
|
||||||
def apt_install_extras():
|
def apt_install_extras():
|
||||||
for package in _get_json('/apt/apt-installs-extra.json'):
|
packages = " ".join(_get_json('/apt/apt-installs-extra.json')):
|
||||||
os.system("apt-get install {} -y".format(package))
|
os.system("apt-get install {} -y".format(packages))
|
||||||
|
|
||||||
|
|
||||||
def run_custom_installs():
|
def run_custom_installs():
|
||||||
|
@ -52,10 +52,12 @@ def install_atom_packages():
|
||||||
|
|
||||||
|
|
||||||
def export_atom_config():
|
def export_atom_config():
|
||||||
|
os.mkdir("~/.atom/")
|
||||||
os.system("cp -R atom/* ~/.atom/")
|
os.system("cp -R atom/* ~/.atom/")
|
||||||
|
|
||||||
|
|
||||||
def install_configs():
|
def install_configs():
|
||||||
|
os.mkdir("~/.config/terminator/")
|
||||||
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", "~/.bashrc")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue