style(post-boot): replace emojis with [OK]/[KO] status indicators
- commit
- e5aeeff2d4bf69e62f31c20e50d97fa964b11420
- author
- bnema · · 2025-10-31 06:20 UTC
- parent
- 77992c0
- signature
- GPG Unverified
2B82207D370127A0The key is unknown
1 file · +4 -4
M install/post-boot/all.sh +4 -4
| @@ -56,15 +56,15 @@ if [ -f /usr/local/share/archup/post-boot/blesh.sh ]; then | |||
| 56 | 56 | echo "Installing ble.sh (Bash Line Editor)..." | tee -a "$LOG_FILE" | |
| 57 | 57 | BLESH_OUTPUT=$(bash /usr/local/share/archup/post-boot/blesh.sh 2>&1 | tee -a "$LOG_FILE") | |
| 58 | 58 | if [ $? -eq 0 ]; then | |
| 59 | - | echo "✓ ble.sh installed successfully" | tee -a "$LOG_FILE" | |
| 59 | + | echo "[OK] ble.sh installed successfully" | tee -a "$LOG_FILE" | |
| 60 | 60 | # Check if it was added to bashrc | |
| 61 | 61 | if echo "$BLESH_OUTPUT" | grep -q "ble.sh added to .bashrc"; then | |
| 62 | - | echo " → ble.sh configured in ~/.bashrc" | tee -a "$LOG_FILE" | |
| 62 | + | echo "[OK] ble.sh configured in ~/.bashrc" | tee -a "$LOG_FILE" | |
| 63 | 63 | elif echo "$BLESH_OUTPUT" | grep -q "ble.sh already configured"; then | |
| 64 | - | echo " → ble.sh already present in ~/.bashrc" | tee -a "$LOG_FILE" | |
| 64 | + | echo "[OK] ble.sh already present in ~/.bashrc" | tee -a "$LOG_FILE" | |
| 65 | 65 | fi | |
| 66 | 66 | else | |
| 67 | - | echo "✗ ble.sh installation failed (non-critical)" | tee -a "$LOG_FILE" | |
| 67 | + | echo "[KO] ble.sh installation failed (non-critical)" | tee -a "$LOG_FILE" | |
| 68 | 68 | fi | |
| 69 | 69 | fi | |
| 70 | 70 | ||
| @@ -56,15 +56,15 @@ if [ -f /usr/local/share/archup/post-boot/blesh.sh ]; then | |||||
| 56 | echo "Installing ble.sh (Bash Line Editor)..." | tee -a "$LOG_FILE" | 56 | echo "Installing ble.sh (Bash Line Editor)..." | tee -a "$LOG_FILE" | ||
| 57 | BLESH_OUTPUT=$(bash /usr/local/share/archup/post-boot/blesh.sh 2>&1 | tee -a "$LOG_FILE") | 57 | BLESH_OUTPUT=$(bash /usr/local/share/archup/post-boot/blesh.sh 2>&1 | tee -a "$LOG_FILE") | ||
| 58 | if [ $? -eq 0 ]; then | 58 | if [ $? -eq 0 ]; then | ||
| 59 | - | echo "✓ ble.sh installed successfully" | tee -a "$LOG_FILE" | 59 | + | echo "[OK] ble.sh installed successfully" | tee -a "$LOG_FILE" |
| 60 | # Check if it was added to bashrc | 60 | # Check if it was added to bashrc | ||
| 61 | if echo "$BLESH_OUTPUT" | grep -q "ble.sh added to .bashrc"; then | 61 | if echo "$BLESH_OUTPUT" | grep -q "ble.sh added to .bashrc"; then | ||
| 62 | - | echo " → ble.sh configured in ~/.bashrc" | tee -a "$LOG_FILE" | 62 | + | echo "[OK] ble.sh configured in ~/.bashrc" | tee -a "$LOG_FILE" |
| 63 | elif echo "$BLESH_OUTPUT" | grep -q "ble.sh already configured"; then | 63 | elif echo "$BLESH_OUTPUT" | grep -q "ble.sh already configured"; then | ||
| 64 | - | echo " → ble.sh already present in ~/.bashrc" | tee -a "$LOG_FILE" | 64 | + | echo "[OK] ble.sh already present in ~/.bashrc" | tee -a "$LOG_FILE" |
| 65 | fi | 65 | fi | ||
| 66 | else | 66 | else | ||
| 67 | - | echo "✗ ble.sh installation failed (non-critical)" | tee -a "$LOG_FILE" | 67 | + | echo "[KO] ble.sh installation failed (non-critical)" | tee -a "$LOG_FILE" |
| 68 | fi | 68 | fi | ||
| 69 | fi | 69 | fi | ||
| 70 | 70 | ||||