浏览代码

Functions in sequence

Bob Mottram 11 年前
父节点
当前提交
8281f2a2dc
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4
    4
      install-freedombone.sh

+ 4
- 4
install-freedombone.sh 查看文件

24
   fi
24
   fi
25
 }
25
 }
26
 
26
 
27
+function remove_proprietary_repos {
28
+  sed -i 's/ non-free//g' /etc/apt/sources.list
29
+}
30
+
27
 function initial_setup {
31
 function initial_setup {
28
   apt-get -y update
32
   apt-get -y update
29
   apt-get -y dist-upgrade
33
   apt-get -y dist-upgrade
38
   echo "deb http://ftp.us.debian.org/debian jessie-backports main" >> /etc/apt/sources.list
42
   echo "deb http://ftp.us.debian.org/debian jessie-backports main" >> /etc/apt/sources.list
39
 }
43
 }
40
 
44
 
41
-function remove_proprietary_repos {
42
-  sed -i 's/ non-free//g' /etc/apt/sources.list
43
-}
44
-
45
 function update_the_kernel {
45
 function update_the_kernel {
46
   cd /opt/scripts/tools
46
   cd /opt/scripts/tools
47
   ./update_kernel.sh --kernel $KERNEL_VERSION
47
   ./update_kernel.sh --kernel $KERNEL_VERSION