Functions in sequence

This commit is contained in:
Bob Mottram 2014-09-21 09:02:31 +01:00
parent b2c17226e9
commit 8281f2a2dc
1 changed files with 4 additions and 4 deletions

View File

@ -24,6 +24,10 @@ function argument_checks {
fi fi
} }
function remove_proprietary_repos {
sed -i 's/ non-free//g' /etc/apt/sources.list
}
function initial_setup { function initial_setup {
apt-get -y update apt-get -y update
apt-get -y dist-upgrade apt-get -y dist-upgrade
@ -38,10 +42,6 @@ function enable_backports {
echo "deb http://ftp.us.debian.org/debian jessie-backports main" >> /etc/apt/sources.list echo "deb http://ftp.us.debian.org/debian jessie-backports main" >> /etc/apt/sources.list
} }
function remove_proprietary_repos {
sed -i 's/ non-free//g' /etc/apt/sources.list
}
function update_the_kernel { function update_the_kernel {
cd /opt/scripts/tools cd /opt/scripts/tools
./update_kernel.sh --kernel $KERNEL_VERSION ./update_kernel.sh --kernel $KERNEL_VERSION