Browse Source

Ensure that downloaded script is executable

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

+ 1
- 0
src/freedombone-image View File

@@ -190,6 +190,7 @@ function image_setup {
190 190
                 echo $"No debian debootstrap script was found for $DEBIAN_VERSION"
191 191
                 return
192 192
             fi
193
+            sudo chmod +x /usr/share/debootstrap/scripts/${DEBIAN_VERSION}
193 194
             ;;
194 195
         *)
195 196
             echo $'Unkown operating system'