mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-05-22 08:34:44 +00:00
Merge pull request #201 from jcastro/feature/update-figurine-2.0.0
Update Figurine to 2.0.0
This commit is contained in:
@@ -2214,13 +2214,13 @@ register_tool "fastfetch" true "$FUNC_VERSION"
|
|||||||
|
|
||||||
|
|
||||||
configure_figurine() {
|
configure_figurine() {
|
||||||
local FUNC_VERSION="1.0"
|
local FUNC_VERSION="1.1"
|
||||||
# description: Install Figurine (ASCII-art hostname banner) and wire it into the SSH login flow.
|
# description: Install Figurine (ASCII-art hostname banner) and wire it into the SSH login flow.
|
||||||
msg_info2 "$(translate "Installing and configuring Figurine...")"
|
msg_info2 "$(translate "Installing and configuring Figurine...")"
|
||||||
# `FIGURINE_VERSION` env var allows pinning to a specific release;
|
# `FIGURINE_VERSION` env var allows pinning to a specific release;
|
||||||
# default tracks the last tested upstream tag. Audit Tier 6 —
|
# default tracks the last tested upstream tag. Audit Tier 6 —
|
||||||
# recursos remotos sin pinning de versión.
|
# recursos remotos sin pinning de versión.
|
||||||
local version="${FIGURINE_VERSION:-1.3.0}"
|
local version="${FIGURINE_VERSION:-2.0.0}"
|
||||||
local file="figurine_linux_amd64_v${version}.tar.gz"
|
local file="figurine_linux_amd64_v${version}.tar.gz"
|
||||||
local url="https://github.com/arsham/figurine/releases/download/v${version}/${file}"
|
local url="https://github.com/arsham/figurine/releases/download/v${version}/${file}"
|
||||||
local temp_dir; temp_dir=$(mktemp -d)
|
local temp_dir; temp_dir=$(mktemp -d)
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ export const metadata: Metadata = {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function StepNumber({ number }: { number: number }) {
|
function StepNumber({ number }: { number: number }) {
|
||||||
return (
|
return (
|
||||||
<div className="inline-flex items-center justify-center w-8 h-8 mr-3 text-white bg-blue-500 rounded-full">
|
<div className="inline-flex items-center justify-center w-8 h-8 mr-3 text-white bg-blue-500 rounded-full">
|
||||||
@@ -315,7 +316,7 @@ echo "clear && fastfetch" >> ~/.bashrc
|
|||||||
<strong>What it does:</strong>
|
<strong>What it does:</strong>
|
||||||
</p>
|
</p>
|
||||||
<ul className="list-disc pl-5 mb-4">
|
<ul className="list-disc pl-5 mb-4">
|
||||||
<li>Downloads and installs Figurine v1.3.0 from GitHub</li>
|
<li>Downloads and installs Figurine v2.0.0 from GitHub</li>
|
||||||
<li>Creates a welcome message that displays your hostname in 3D ASCII art when you log in</li>
|
<li>Creates a welcome message that displays your hostname in 3D ASCII art when you log in</li>
|
||||||
<li>Automatically removes any previous Figurine installation if present</li>
|
<li>Automatically removes any previous Figurine installation if present</li>
|
||||||
<li>Sets up the welcome message to run automatically at login</li>
|
<li>Sets up the welcome message to run automatically at login</li>
|
||||||
@@ -352,7 +353,7 @@ if command -v figurine &> /dev/null; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Download and install Figurine
|
# Download and install Figurine
|
||||||
version="1.3.0"
|
version="2.0.0"
|
||||||
file="figurine_linux_amd64_v\${version}.tar.gz"
|
file="figurine_linux_amd64_v\${version}.tar.gz"
|
||||||
url="https://github.com/arsham/figurine/releases/download/v\${version}/\${file}"
|
url="https://github.com/arsham/figurine/releases/download/v\${version}/\${file}"
|
||||||
wget -qO "/tmp/\${file}" "\${url}"
|
wget -qO "/tmp/\${file}" "\${url}"
|
||||||
@@ -384,4 +385,3 @@ chmod +x "/etc/profile.d/figurine.sh"
|
|||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user