v3-revamp-fedora
This commit is contained in:
+13
-2
@@ -48,11 +48,22 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Running installer..."
|
echo "Running installer..."
|
||||||
cd "$REPO_DIR" | ./install.sh {
|
|
||||||
echo "Error: Failed to enter $REPO_DIR" >&2
|
# Move into the directory safely and execute the installer directly as an executable sub-process
|
||||||
|
cd "$REPO_DIR" || {
|
||||||
|
color_red "Error: Failed to enter $REPO_DIR"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Make sure it's executable and run it cleanly
|
||||||
|
chmod +x install.sh
|
||||||
|
./install.sh || {
|
||||||
|
color_red "Error: SDDM theme installer encountered an issue."
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
color_green "SDDM theme installer completed successfully!"
|
||||||
|
|
||||||
pause_if_debug
|
pause_if_debug
|
||||||
|
|
||||||
# Ensure NetworkManager manages all interfaces
|
# Ensure NetworkManager manages all interfaces
|
||||||
|
|||||||
Reference in New Issue
Block a user