diff options
author | canyonknight <canyonknight@gmail.com> | 2012-10-28 21:04:32 -0400 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-10-29 12:28:45 +0100 |
commit | 9fd4845d16e41bf88535f77f627202f25b6d2112 (patch) | |
tree | 7e04e44a85e2cc3cf1192df0f0b78f77208754e4 /web/lib | |
parent | 985a2ed49cc49f1e3be8a3699be8e1fa9c8705f4 (diff) | |
download | aurweb-9fd4845d16e41bf88535f77f627202f25b6d2112.tar.xz |
pkgsubmit.php: Check that there is one directory in a tarball
Users are able to upload tarballs without a directory.
The directory count for a tarball is available, so use it to
display an error when there is not a single directory.
This patch has no effect on users who generate their uploaded
tarballs using makepkg. All other users must include a directory
in their tarball.
Signed-off-by: canyonknight <canyonknight@gmail.com>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib')
0 files changed, 0 insertions, 0 deletions