#!/bin/bash exec 2>&1 set -e set -x cat > /etc/apt/sources.list <&1 | sed -u "s/^/ /" echo -e "\nSuccess!" exit 0