diff --git a/debian-assets/debian-sid-sources.list b/debian-assets/debian-sid-sources.list new file mode 100644 index 0000000..19ecde2 --- /dev/null +++ b/debian-assets/debian-sid-sources.list @@ -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 diff --git a/system-setup.sh b/system-setup.sh index 42eb046..86daf39 100755 --- a/system-setup.sh +++ b/system-setup.sh @@ -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