summaryrefslogtreecommitdiffstats
path: root/mga-move-pkg
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-07-29 21:30:39 +0100
committerColin Guthrie <colin@mageia.org>2014-07-29 21:30:39 +0100
commit6bd358282ae7b63b3bf5f75da6c922e638fefbcd (patch)
treef4c0e9fec544a3525f829d96d7e315db03137093 /mga-move-pkg
parentc4d7b611eec5b228afed19e53ba9573fc3ac85e1 (diff)
downloadmgatools-6bd358282ae7b63b3bf5f75da6c922e638fefbcd.tar
mgatools-6bd358282ae7b63b3bf5f75da6c922e638fefbcd.tar.gz
mgatools-6bd358282ae7b63b3bf5f75da6c922e638fefbcd.tar.bz2
mgatools-6bd358282ae7b63b3bf5f75da6c922e638fefbcd.tar.xz
mgatools-6bd358282ae7b63b3bf5f75da6c922e638fefbcd.zip
Move the --dry-run handling into the functions file.
Diffstat (limited to 'mga-move-pkg')
-rwxr-xr-xmga-move-pkg5
1 files changed, 0 insertions, 5 deletions
diff --git a/mga-move-pkg b/mga-move-pkg
index b757ba9..beaf99e 100755
--- a/mga-move-pkg
+++ b/mga-move-pkg
@@ -9,11 +9,6 @@ else
. /usr/share/mgatools/functions
fi
-if [ "$1" = "--dry-run" ]; then
- dryrun=echo
- shift
-fi
-
sync=
if [ "$1" = "--sync" ]; then
sync=yes