v3-revamp-fedora
This commit is contained in:
+12
-12
@@ -100,9 +100,9 @@ pause_if_debug
|
|||||||
color_yellow "Detected OS / Desktop Environment / Tiling Window Manager"
|
color_yellow "Detected OS / Desktop Environment / Tiling Window Manager"
|
||||||
echo
|
echo
|
||||||
color_gray "Installing OS-specific packages..."
|
color_gray "Installing OS-specific packages..."
|
||||||
color_gray "Selected DE:" "$DE"
|
color_gray "Selected DE: $DE"
|
||||||
color_gray "Selected TWM:" "$TWM"
|
color_gray "Selected TWM: $TWM"
|
||||||
color_gray "Installation Level:" "$INSTALL_LEVEL"
|
color_gray "Installation Level: $INSTALL_LEVEL"
|
||||||
|
|
||||||
pause_if_debug
|
pause_if_debug
|
||||||
|
|
||||||
@@ -111,13 +111,13 @@ pause_if_debug
|
|||||||
#------------------------------------------
|
#------------------------------------------
|
||||||
case "$DE" in
|
case "$DE" in
|
||||||
xfce|plasma|gnome)
|
xfce|plasma|gnome)
|
||||||
color_yellow "Preparing to install" "$DE"
|
color_yellow "Preparing to install $DE"
|
||||||
SCRIPT_NAME="$SCRIPT_DIR/${OS}-${DE}.sh"
|
SCRIPT_NAME="$SCRIPT_DIR/${OS}-${DE}.sh"
|
||||||
if [[ -f "$SCRIPT_NAME" ]]; then
|
if [[ -f "$SCRIPT_NAME" ]]; then
|
||||||
color_cyan "Running" "$SCRIPT_NAME"
|
color_cyan "Running $SCRIPT_NAME"
|
||||||
bash "$SCRIPT_NAME"
|
bash "$SCRIPT_NAME"
|
||||||
else
|
else
|
||||||
color_red "Error:" "$SCRIPT_NAME" "not found!"
|
color_red "Error: $SCRIPT_NAME not found!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
@@ -133,13 +133,13 @@ pause_if_debug
|
|||||||
#------------------------------------------
|
#------------------------------------------
|
||||||
case "$TWM" in
|
case "$TWM" in
|
||||||
chadwm|hyprland|niri)
|
chadwm|hyprland|niri)
|
||||||
color_yellow "Installing" "$TWM"
|
color_yellow "Installing $TWM"
|
||||||
SCRIPT_NAME="$SCRIPT_DIR/${OS}-${TWM}.sh"
|
SCRIPT_NAME="$SCRIPT_DIR/${OS}-${TWM}.sh"
|
||||||
if [[ -f "$SCRIPT_NAME" ]]; then
|
if [[ -f "$SCRIPT_NAME" ]]; then
|
||||||
color_cyan "Running" "$SCRIPT_NAME"
|
color_cyan "Running $SCRIPT_NAME"
|
||||||
bash "$SCRIPT_NAME"
|
bash "$SCRIPT_NAME"
|
||||||
else
|
else
|
||||||
color_red "Error:" "$SCRIPT_NAME" "not found!"
|
color_red "Error: $SCRIPT_NAME not found!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
@@ -155,13 +155,13 @@ pause_if_debug
|
|||||||
#------------------------------------------
|
#------------------------------------------
|
||||||
case "$INSTALL_LEVEL" in
|
case "$INSTALL_LEVEL" in
|
||||||
minimal|full|workstation|server)
|
minimal|full|workstation|server)
|
||||||
color_cyan "Installation level:" "$INSTALL_LEVEL"
|
color_cyan "Installation level: $INSTALL_LEVEL"
|
||||||
SCRIPT_NAME="$SCRIPT_DIR/${OS}-${INSTALL_LEVEL}.sh"
|
SCRIPT_NAME="$SCRIPT_DIR/${OS}-${INSTALL_LEVEL}.sh"
|
||||||
if [[ -f "$SCRIPT_NAME" ]]; then
|
if [[ -f "$SCRIPT_NAME" ]]; then
|
||||||
color_cyan "Running" "$SCRIPT_NAME"
|
color_cyan "Running $SCRIPT_NAME"
|
||||||
bash "$SCRIPT_NAME"
|
bash "$SCRIPT_NAME"
|
||||||
else
|
else
|
||||||
color_red "Error:" "$SCRIPT_NAME" "not found!"
|
color_red "Error: $SCRIPT_NAME not found!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user