diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-06-23 02:09:22 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-07-09 15:14:49 -0300 |
commit | 0d895a225a30a86733bcfbd600fc6e5880b11977 (patch) | |
tree | 75c41cf363ed5d0dfcb89381a73717e18115c5e2 /archiso/mkarchiso | |
parent | 98c457c26f58cb134bad4e8cea7ccce9072d2384 (diff) | |
download | archiso32-0d895a225a30a86733bcfbd600fc6e5880b11977.tar.xz |
[archiso] Ensure that there is no .fs before create it
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso/mkarchiso')
-rwxr-xr-x | archiso/mkarchiso | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso index df9f49a..673f570 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -250,6 +250,7 @@ _mkfs () { fi _msg_info "Creating ${_fs_type} image of ${_fs_size} MiB" + rm -f "${_fs_img}" dd of="${_fs_img}" count=0 bs=1M seek=${_fs_size} &> /dev/null local _qflag="" if [[ ${quiet} == "y" ]]; then |