From 538811e6677a73ac925b83bccf268af8ddab5aa0 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 27 Jul 2015 16:46:43 +0200 Subject: Automatically create multipaste Signed-off-by: Florian Pritz --- fb.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fb.in') diff --git a/fb.in b/fb.in index 69159de..9fe6392 100644 --- a/fb.in +++ b/fb.in @@ -347,6 +347,10 @@ done shift `expr $OPTIND - 1` +if [[ "$#" -gt 1 && ! "$tar" ]]; then + multipaste=1 +fi + if [ "$compress" = "1" ]; then require_executable gzip elif [ "$compress" = "2" ]; then -- cgit v1.2.3-24-g4f1b