kernel still breaking. updated name which may have been issue

This commit is contained in:
tumillanino
2026-04-09 15:58:55 +10:00
parent 1c59f8a718
commit c6ffa3591f
155 changed files with 6219 additions and 1 deletions

View File

@@ -0,0 +1,49 @@
#!/usr/bin/env bash
set -oue pipefail
GITHUB_URL="https://github.com/somepaulo/MoreWaita"
if [ -z "$GITHUB_URL" ]; then
echo "Error: GITHUB_URL is not set."
exit 1
fi
REPO_NAME=$(basename "$GITHUB_URL" .git)
CLONE_DIR="/tmp/clone/$REPO_NAME"
echo "Preparing directory for cloning..."
mkdir -p "$CLONE_DIR"
cd "$CLONE_DIR"
echo "Directory created."
git clone "$GITHUB_URL"
echo "Repo cloned. Copying files..."
if [ -f "./$REPO_NAME/install.sh" ]; then
chmod +x "./$REPO_NAME/install.sh"
./"$REPO_NAME/install.sh"
fi
echo "Folders copied. Cleaning up!"
rm -drf "$CLONE_DIR"
echo "Cloned repo deleted."
echo "Script finished. Theme installation complete."
# ---
# echo 'Preparing directory for cloning...'
# mkdir -p /tmp/clone/MoreWaita/
# cd /tmp/clone/MoreWaita/
# echo 'Directory created.'
# git clone https://github.com/somepaulo/MoreWaita.git
# echo 'Repo cloned. Running install script...'
# MoreWaita/install.sh
# cho 'Install script finished. Removing cloned repo...'
# rm -r MoreWaita
# echo 'Cloned repo deleted.'