blob: 7fcf14eb6f1a46ad67ffb00d0145bc8bd412f210 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
# update sources.list
if [ -d /etc/apt/sources.list.d ]; then
for repo in /etc/apt/sources.list.d/*
do
case "$(basename "$repo" .list)" in
live.debian.net)
# ignore and remove these repos
;;
*)
cat "$repo" >> /etc/apt/sources.list
echo >> /etc/apt/sources.list
;;
esac
rm "$repo"
done
fi
|