From 5702a433682f8b15a5a82859837bfbe18953e645 Mon Sep 17 00:00:00 2001 From: "Achim D. Brucker" Date: Fri, 30 Jun 2017 20:54:08 +0100 Subject: [PATCH] Use parallel bzip2 (pbzip2) instead of regular bzip2. --- scripts/global_update.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/global_update.sh b/scripts/global_update.sh index 0fc28db..6bd0753 100755 --- a/scripts/global_update.sh +++ b/scripts/global_update.sh @@ -28,7 +28,7 @@ fi if [ -f "$ARCHIVE"/db/aa-ac.sqlite ]; then date +'* Start Compressing aa-ac.sqlite Data Base (%c)' - bzip2 "$ARCHIVE"/db/aa-ac.sqlite + pbzip2 "$ARCHIVE"/db/aa-ac.sqlite if [ $? -ne "0" ]; then echo " Creation of aa-ac.sqlite.bz2 failed" else @@ -55,7 +55,7 @@ fi if [ -f "$ARCHIVE"/db/full.sqlite ]; then date +'* Start Compressing full.sqlite Data Base (%c)' - bzip2 "$ARCHIVE"/db/full.sqlite + pbzip2 "$ARCHIVE"/db/full.sqlite if [ $? -ne "0" ]; then echo " Creation of full.sqlite.bz2 failed" else @@ -66,7 +66,7 @@ fi date +'* Start Compressing Log files (%c)' for f in $ARCHIVE/log/*.log; do - bzip2 $f + pbzip2 $f done date +'* Update Finished (%c)'