Przeglądaj źródła

Functions in sequence

Bob Mottram 10 lat temu
rodzic
commit
8281f2a2dc
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4
    4
      install-freedombone.sh

+ 4
- 4
install-freedombone.sh Wyświetl plik

@@ -24,6 +24,10 @@ function argument_checks {
24 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 31
 function initial_setup {
28 32
   apt-get -y update
29 33
   apt-get -y dist-upgrade
@@ -38,10 +42,6 @@ function enable_backports {
38 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 45
 function update_the_kernel {
46 46
   cd /opt/scripts/tools
47 47
   ./update_kernel.sh --kernel $KERNEL_VERSION