Correct the Bash completion script behaviour.
[dput.git] / dput / helper / security-warning
blob765a262891bf58a0cb067cd4805ffc2a7cc345bb
1 #! /bin/sh
3 # dput/helper/security-warning
4 # Part of ‘dput’, a Debian package upload toolkit.
6 # This is free software, and you are welcome to redistribute it under
7 # certain conditions; see the end of this file for copyright
8 # information, grant of license, and disclaimer of warranty.
10 set -e
12 cat << __END__
13 Do NOT upload a package to the security upload queues without prior
14 authorization from the security team.
15 See the following URL for instructions:
16 http://www.debian.org/doc/developers-reference/pkgs#bug-security
17 Please enter "really upload" (without the quotes) to proceed with the
18 upload.
19 __END__
21 read really_upload
23 [ "xreally upload" = "x${really_upload}" ]
26 # Copyright © 2015–2016 Ben Finney <bignose@debian.org>
27 # Copyright © 2009 Y Giridhar Appaji Nag <appaji@debian.org>
28 # Copyright © 2008 Thomas Viehmann <tv@beamnet.de>
30 # This is free software: you may copy, modify, and/or distribute this work
31 # under the terms of the GNU General Public License as published by the
32 # Free Software Foundation; version 2 of that license or any later version.
33 # No warranty expressed or implied. See the file ‘LICENSE.GPL-2’ for details.
35 # Local variables:
36 # coding: utf-8
37 # mode: sh
38 # End:
39 # vim: fileencoding=utf-8 filetype=sh :