Add skip option to source setting
This commit is contained in:
@@ -97,6 +97,7 @@ if [ "$reload" = false ]; then
|
|||||||
echo "Debian Sources:"
|
echo "Debian Sources:"
|
||||||
echo "1) Stable"
|
echo "1) Stable"
|
||||||
echo "2) Testing"
|
echo "2) Testing"
|
||||||
|
echo "3) Skip (Do not change)"
|
||||||
printf "Enter your choice: "
|
printf "Enter your choice: "
|
||||||
|
|
||||||
while read -r REPLY; do
|
while read -r REPLY; do
|
||||||
@@ -113,6 +114,10 @@ if [ "$reload" = false ]; then
|
|||||||
sudo cp testing-sources.list /etc/apt/sources.list
|
sudo cp testing-sources.list /etc/apt/sources.list
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
|
3)
|
||||||
|
echo "${CYAN}Skipped.${NC}"
|
||||||
|
break
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Invalid option."
|
echo "Invalid option."
|
||||||
printf "Enter your choice: "
|
printf "Enter your choice: "
|
||||||
@@ -128,7 +133,7 @@ if [ "$reload" = false ]; then
|
|||||||
|
|
||||||
if [ "$tiling" = true ]; then
|
if [ "$tiling" = true ]; then
|
||||||
echo "${YELLOW}Installing Hyprland...${NC}"
|
echo "${YELLOW}Installing Hyprland...${NC}"
|
||||||
sudo apt install hyprland dunst pipewire wireplumber xdg-desktop-portal-gnome lxpolkit waybar swaybg rofi nautilus udiskie foot
|
sudo apt install hyprland dunst pipewire wireplumber xdg-desktop-portal-gnome polkit-kde-agent-1 waybar swaybg rofi nautilus udiskie foot
|
||||||
else
|
else
|
||||||
echo "${YELLOW}Installing GNOME...${NC}"
|
echo "${YELLOW}Installing GNOME...${NC}"
|
||||||
sudo apt install gnome-core gnome-software-plugin-flatpak
|
sudo apt install gnome-core gnome-software-plugin-flatpak
|
||||||
|
|||||||
Reference in New Issue
Block a user