Reorganise
This commit is contained in:
+11
-10
@@ -233,16 +233,6 @@ for selection in $CHOICE; do
|
|||||||
echo "+ sleep 10" && sleep 10
|
echo "+ sleep 10" && sleep 10
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
"8")
|
|
||||||
echo "Running bat setup script..."
|
|
||||||
# Runs local script unless it does not exist or fails
|
|
||||||
if [[ -f "bat.sh" ]]; then
|
|
||||||
echo "Found local script, running..."
|
|
||||||
bash bat.sh --skip-watermark
|
|
||||||
else
|
|
||||||
bash "$(curl -fsSL https://raw.githubusercontent.com/alvinlollo/Single-install-script/refs/heads/main/bat.sh)" --skip-watermark
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
"7")
|
"7")
|
||||||
echo "Installing GUI dependencies"
|
echo "Installing GUI dependencies"
|
||||||
if command -v shelly >/dev/null; then
|
if command -v shelly >/dev/null; then
|
||||||
@@ -264,6 +254,17 @@ for selection in $CHOICE; do
|
|||||||
sleep 10
|
sleep 10
|
||||||
curl -sSL https://raw.githubusercontent.com/ryzendew/AffinityOnLinux/refs/heads/main/AffinityScripts/AffinityLinuxInstaller.py | python3
|
curl -sSL https://raw.githubusercontent.com/ryzendew/AffinityOnLinux/refs/heads/main/AffinityScripts/AffinityLinuxInstaller.py | python3
|
||||||
;;
|
;;
|
||||||
|
"8")
|
||||||
|
echo "Running bat setup script..."
|
||||||
|
# Runs local script unless it does not exist or fails
|
||||||
|
if [[ -f "bat.sh" ]]; then
|
||||||
|
echo "Found local script, running..."
|
||||||
|
bash bat.sh --skip-watermark
|
||||||
|
else
|
||||||
|
bash "$(curl -fsSL https://raw.githubusercontent.com/alvinlollo/Single-install-script/refs/heads/main/bat.sh)" --skip-watermark
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
echo "Invalid option selected: $selection"
|
echo "Invalid option selected: $selection"
|
||||||
;;
|
;;
|
||||||
|
|||||||
+10
-10
@@ -233,16 +233,6 @@ for selection in $CHOICE; do
|
|||||||
echo "+ sleep 10" && sleep 10
|
echo "+ sleep 10" && sleep 10
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
"8")
|
|
||||||
echo "Running bat setup script..."
|
|
||||||
# Runs local script unless it does not exist or fails
|
|
||||||
if [[ -f "bat.sh" ]]; then
|
|
||||||
echo "Found local script, running..."
|
|
||||||
bash bat.sh --skip-watermark
|
|
||||||
else
|
|
||||||
bash "$(curl -fsSL https://raw.githubusercontent.com/alvinlollo/Single-install-script/refs/heads/main/bat.sh)" --skip-watermark
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
"7")
|
"7")
|
||||||
echo "Installing GUI dependencies"
|
echo "Installing GUI dependencies"
|
||||||
if command -v shelly >/dev/null; then
|
if command -v shelly >/dev/null; then
|
||||||
@@ -264,6 +254,16 @@ for selection in $CHOICE; do
|
|||||||
sleep 10
|
sleep 10
|
||||||
curl -sSL https://raw.githubusercontent.com/ryzendew/AffinityOnLinux/refs/heads/main/AffinityScripts/AffinityLinuxInstaller.py | python3
|
curl -sSL https://raw.githubusercontent.com/ryzendew/AffinityOnLinux/refs/heads/main/AffinityScripts/AffinityLinuxInstaller.py | python3
|
||||||
;;
|
;;
|
||||||
|
"8")
|
||||||
|
echo "Running bat setup script..."
|
||||||
|
# Runs local script unless it does not exist or fails
|
||||||
|
if [[ -f "bat.sh" ]]; then
|
||||||
|
echo "Found local script, running..."
|
||||||
|
bash bat.sh --skip-watermark
|
||||||
|
else
|
||||||
|
bash "$(curl -fsSL https://raw.githubusercontent.com/alvinlollo/Single-install-script/refs/heads/main/bat.sh)" --skip-watermark
|
||||||
|
fi
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Invalid option selected: $selection"
|
echo "Invalid option selected: $selection"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user