Added extra installs

This commit is contained in:
Jake Howard 2016-02-07 17:13:23 +00:00
parent 55015a1e66
commit 7890028325
3 changed files with 31 additions and 10 deletions

View file

@ -1,19 +1,14 @@
# SDK # SDK
- Android SDK - Android SDK
- Java - Java
- node
- nvm
# Applications not installed automatically # Applications not installed automatically
- Astrill
- Atom
- GitKraken - GitKraken
- Messenger for desktop - Messenger for desktop
- PlayOnLinux - PlayOnLinux
- skype - skype
- slack - slack
- spotify - spotify
- thefuck
- WPS office - WPS office
- xampp - xampp
- Yandex - Yandex

26
apt/custom-installs.sh Normal file
View file

@ -0,0 +1,26 @@
#!/usr/bin/env bash
set -e
echo ">> Collecting Packages..."
wget https://atom.io/download/deb -O atom.deb
wget "https://www.astrill.com/downloads/astrill-setup-linux64.deb?mirror=uk" -O astrill.deb
curl -sL https://deb.nodesource.com/setup_5.x | -E bash -
echo ">> Installing Packages..."
dpkg -i atom.deb
dpkg -i astrill.deb
echo ">> Installing Apt Packages"
apt-get install nodejs -y
echo ">> Installing other packages..."
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
echo ">> Cleaning up..."
rm -rf atom.deb astrill.deb

10
wscript
View file

@ -36,11 +36,10 @@ def apt_install_extras(ctx):
for package in packages: for package in packages:
os.system("apt-get install {} -y".format(package)) os.system("apt-get install {} -y".format(package))
def install_atom(ctx):
FILENAME = "atom.deb" def run_custom_installs(ctx):
os.system('wget https://atom.io/download/deb -O {}'.format(FILENAME)) os.system('apt/custom-installs.sh')
os.system('dpkg -i {}'.format(FILENAME))
os.remove(FILENAME)
def install_atom_packages(ctx): def install_atom_packages(ctx):
packages = json.load(open(DIR + '/atom/packages.json')) packages = json.load(open(DIR + '/atom/packages.json'))
@ -51,6 +50,7 @@ def install_atom_packages(ctx):
def install_configs(ctx): def install_configs(ctx):
shutil.copyfile(DIR + "/config/terminator.conf", "~/.config/terminator/config") shutil.copyfile(DIR + "/config/terminator.conf", "~/.config/terminator/config")
if __name__ == '__main__': if __name__ == '__main__':
print("Please run this file using waf, not directly.") print("Please run this file using waf, not directly.")
exit(1) exit(1)