Created
September 14, 2019 11:36
-
-
Save sandikata/4d09c2af1722d533ed67e8bae6794216 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
pbzip2=$(whereis pbzip2 | cut -d" " -f2) | |
if [ -f "$pbzip2" ]; then | |
echo "pbzip2 found on your system!" && COMPRESSIONPROGRAM="--use-compress-program=pbzip2" | |
else | |
echo "pbzip2 not found on your system, using bzip2 instead!" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment