summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-07-30 20:50:54 +0100
committerColin Guthrie <colin@mageia.org>2014-07-30 20:50:54 +0100
commitd8aa2da056671a57d40a0a52d53d288df2257e68 (patch)
tree10392b6392a741f9268e8665b09a871d146f6227
parent93ad64817afac1c3e014948e83d604f34db1e671 (diff)
downloadmgatools-d8aa2da056671a57d40a0a52d53d288df2257e68.tar
mgatools-d8aa2da056671a57d40a0a52d53d288df2257e68.tar.gz
mgatools-d8aa2da056671a57d40a0a52d53d288df2257e68.tar.bz2
mgatools-d8aa2da056671a57d40a0a52d53d288df2257e68.tar.xz
mgatools-d8aa2da056671a57d40a0a52d53d288df2257e68.zip
move: Fix confirmation check (again)
-rwxr-xr-xmga-move-pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/mga-move-pkg b/mga-move-pkg
index fd2d22c..143d410 100755
--- a/mga-move-pkg
+++ b/mga-move-pkg
@@ -102,7 +102,7 @@ fi
# Safety check
-if [ -z "$exactsrpm" -o -n "$noconfirm" ]; then
+if [ -z "$exactsrpm" -o -z "$noconfirm" ]; then
echo "This SRPM (and matching binaries) will be moved from '$sourcesubsection' to '$destinationsubsection':"
echo "- $srcpkg"
echo