Browse Source

Don't use condition to check for debian script

Bob Mottram 8 years ago
parent
commit
e72bdd8d9b
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      src/freedombone-image

+ 1
- 3
src/freedombone-image View File

@@ -184,9 +184,7 @@ function image_setup {
184 184
             cd ~/develop/multipath-tools
185 185
             makepkg --force --noconfirm
186 186
             makepkg -i --force --noconfirm
187
-            if [ ! -f /usr/share/debootstrap/scripts/${DEBIAN_VERSION} ]; then
188
-                sudo wget https://raw.githubusercontent.com/bashrc/freedombone/stockholm/image_build/debootstrap/scripts/${DEBIAN_VERSION} /usr/share/debootstrap/scripts/${DEBIAN_VERSION}
189
-            fi
187
+            sudo wget https://raw.githubusercontent.com/bashrc/freedombone/stockholm/image_build/debootstrap/scripts/${DEBIAN_VERSION} /usr/share/debootstrap/scripts/${DEBIAN_VERSION}
190 188
             ;;
191 189
         *)
192 190
             echo $'Unkown operating system'