Bob Mottram 10 лет назад
Родитель
Сommit
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