Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jknight2014
Last active March 7, 2018 10:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jknight2014/03678a1b2206732dc2b8adabeb1381ee to your computer and use it in GitHub Desktop.
Save jknight2014/03678a1b2206732dc2b8adabeb1381ee to your computer and use it in GitHub Desktop.
Installer for the Atomic Toolkit by HTPC Beginner
#/bin/bash
#The one step installer for the AtoMiC-ToolKit
#Written by KnightCinema.com
touch /var/log/atomic-install.log
echo "Updating APT ..."
apt-get -y update > /var/log/atomic-install.log
echo "Installing Prerequsits"
apt-get -y install git-core nano python-software-properties dialog > /var/log/atomic-install.log
dialog --title "The AtoMiC Tool Kit installer" --yesno "This will install the AtomMiC toolkit as well as some prerequsits. Please be aware this software is provided with no warranties. Proceed at your own risk. Would you like to continue?" 8 100
# Cloaning into the OPT folder for organization.
echo "Downloading the AtoMiC-ToolKit"
git clone https://github.com/htpcBeginner/AtoMiC-ToolKit.git /opt/AtoMiC-ToolKit > /var/log/atomic-install.log
#Creat a sym link to the user bin so the toolkit can be accessed by typing atk.
echo "Installing AtoMiC-ToolKit"
ln -s -T /opt/AtoMiC-ToolKit/setup.sh /usr/local/bin/atk > /var/log/atomic-install.log
echo "Install Finished. You can use the AtoMiC-ToolKit by typing atk anytime. Starting the AtoMiC-ToolKit now."
sleep 5
rm /tmp/atomicinstaller.sh
atk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment