abuild: display error for unsupported archives

This commit is contained in:
Natanael Copa 2009-01-26 13:15:12 +00:00
parent fe7da984ae
commit e609357a1c

3
abuild
View File

@ -163,6 +163,9 @@ unpack() {
*.zip)
msg "Unpacking $s..."
unzip "$s" -d "$srcdir" || return 1;;
*)
error "Archive not supported"
return 1;;
esac
done
}