#!/bin/bash

set -x

[ -f /etc/apt/sources.list ] && \
    rm -f /etc/apt/sources.list

# Restore source list
for f in $(find /etc/apt -type f -name "*.volatile-earlytask")
do
    mv "$f" "${f%%.volatile-earlytask}".list
done
