diff options
author | Nat Lasseter <Nat Lasseter nathan@bytemark.co.uk> | 2018-11-08 09:31:45 +0000 |
---|---|---|
committer | Nat Lasseter <Nat Lasseter nathan@bytemark.co.uk> | 2018-11-08 09:31:45 +0000 |
commit | 3633071bbe2b6d86dd0f6ae1180663d1da843ada (patch) | |
tree | 634175d06109447a1ee1096a189c5f2c9d5df4a7 /debian | |
parent | 7ce5e1cbe9c66a9443d7571173cbc755c4be3327 (diff) |
[debian] detault key of stable if none given
Diffstat (limited to 'debian')
-rwxr-xr-x | debian | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -53,12 +53,11 @@ def find(elem) end if ARGV.length != 1 then - $stderr.puts "No key provided" - exit 2 + key = "stable" +else + key = ARGV.shift.strip.downcase end -key = ARGV.shift.strip.downcase - res = find(key) if res.nil? then |