Primer depuración. Limpieza archivos innecesarios, cambios de nombres y preparación para Puma.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Enhanced Puma Viewer Installation Script
|
||||
# Enhanced Firestorm Viewer Installation Script
|
||||
# Features:
|
||||
# - Creates a timestamped backup of existing installation
|
||||
# - Allows installation with custom suffixes for parallel versions (e.g., beta, release, debug)
|
||||
@@ -179,16 +179,16 @@ parse_arguments() {
|
||||
}
|
||||
|
||||
# Function to download Puma Viewer (optional enhancement)
|
||||
download_puma() {
|
||||
# Define Puma Viewer download URL
|
||||
download_firestorm() {
|
||||
# Define Firestorm Viewer download URL
|
||||
# NOTE: Replace this URL with the actual download link as needed
|
||||
PUMA_URL="https://avataresargentinos/puma/descargas/linux/puma.tar.gz"
|
||||
FIRESTORM_URL="https://wiki.avataresargentinos.com.ar/descargas/linux/puma.tar.gz"
|
||||
|
||||
# Temporary download location
|
||||
TEMP_DOWNLOAD="/tmp/puma.tar.gz"
|
||||
|
||||
echo "Downloading Puma Viewer from $PUMA_URL..."
|
||||
wget -O "$TEMP_DOWNLOAD" "$PUMA_URL" || die "Failed to download Puma Viewer!"
|
||||
echo "Downloading Puma Viewer from $FIRESTORM_URL..."
|
||||
wget -O "$TEMP_DOWNLOAD" "$FIRESTORM_URL" || die "Failed to download Puma Viewer!"
|
||||
echo "Download completed."
|
||||
|
||||
# Extract the tarball to the run path
|
||||
@@ -201,7 +201,7 @@ download_puma() {
|
||||
|
||||
# Main installation workflow
|
||||
main() {
|
||||
echo "Starting Puma Viewer installation script..."
|
||||
echo "Starting Pumaw Viewer installation script..."
|
||||
|
||||
# Parse command-line arguments
|
||||
parse_arguments "$@"
|
||||
@@ -213,7 +213,7 @@ main() {
|
||||
|
||||
# Optionally, download Puma Viewer if not already present
|
||||
# Uncomment the following line if you want the script to handle downloading
|
||||
# download_Puma
|
||||
# download_puma
|
||||
|
||||
# Determine if the script is run as root
|
||||
if [[ "$EUID" -eq 0 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user