| 1234567891011121314151617181920 |
- #!/bin/bash
- set -e
- # Create sources directory if it doesn't exist
- mkdir -p sources
- # Download the source archive
- echo "Downloading bzip2 source..."
- wget -O sources/bzip2-1.0.8.tar.gz https://www.sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
- # Extract the archive
- echo "Extracting bzip2 source..."
- cd sources
- tar -xzf bzip2-1.0.8.tar.gz
- # Clean up the archive
- echo "Cleaning up..."
- rm bzip2-1.0.8.tar.gz
- echo "Source acquisition complete."
|