sh HTPC初学者的Atomic Toolkit安装程序

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh HTPC初学者的Atomic Toolkit安装程序相关的知识,希望对你有一定的参考价值。

#/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

以上是关于sh HTPC初学者的Atomic Toolkit安装程序的主要内容,如果未能解决你的问题,请参考以下文章