Update: debian-sid sources
- Add debian-sid-sources.list added to debian-assets - Modify system-setup.sh to overwrite the sources.list
This commit is contained in:
parent
02f8dc7c1e
commit
cddaeacbe4
2
debian-assets/debian-sid-sources.list
Normal file
2
debian-assets/debian-sid-sources.list
Normal file
|
@ -0,0 +1,2 @@
|
|||
deb http://deb.debian.org/debian/ sid main contrib non-free non-free-firmware
|
||||
deb-src http://deb.debian.org/debian/ sid main contrib non-free non-free-firmware
|
|
@ -4,7 +4,11 @@ APT_CMD=$(which apt-get)
|
|||
PACMAN_CMD=$(which pacman)
|
||||
|
||||
if [[ ! -z $APT_CMD ]]; then
|
||||
|
||||
echo "System Identified: Debian"
|
||||
# Make sure System is Updated
|
||||
echo "apt-get update && apt-get upgrade -Y"
|
||||
#apt update && apt upgrade -Y
|
||||
|
||||
# Setup apt sources
|
||||
while true;do
|
||||
|
@ -12,6 +16,8 @@ if [[ ! -z $APT_CMD ]]; then
|
|||
answer="${answer,,}"
|
||||
if [[ "$answer" = "y" ]]; then
|
||||
echo "Change apt sources"
|
||||
echo "cp -v ./debian-assets/debian-sid-sources.list /etc/sources.list"
|
||||
echo "apt-get update && apt-get upgrade -Y"
|
||||
break
|
||||
elif [[ "$answer" = "n" ]]; then
|
||||
echo "Proceeding with Debian Stable"
|
||||
|
@ -22,6 +28,7 @@ if [[ ! -z $APT_CMD ]]; then
|
|||
done
|
||||
|
||||
# Start System Setup
|
||||
|
||||
elif [[ ! -z $PACMAN_CMD ]]; then
|
||||
echo "Arch"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue