From 6bd358282ae7b63b3bf5f75da6c922e638fefbcd Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Tue, 29 Jul 2014 21:30:39 +0100 Subject: Move the --dry-run handling into the functions file. --- mga-hdlists-updates | 5 ----- 1 file changed, 5 deletions(-) (limited to 'mga-hdlists-updates') diff --git a/mga-hdlists-updates b/mga-hdlists-updates index ee2f71f..9d12a45 100755 --- a/mga-hdlists-updates +++ b/mga-hdlists-updates @@ -9,11 +9,6 @@ else . /usr/share/mgatools/functions fi -if [ "$1" = "--dry-run" ]; then - dryrun=echo - shift -fi - if [ $# != 2 ]; then echo "Usage: $0 [--dry-run]
" >&2 exit 1 -- cgit v1.2.1