aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2014-05-13 21:54:37 +0200
committerBoris Faure <billiob@gmail.com>2014-05-13 21:54:37 +0200
commiteb28d29bde123ff94c5c927614845f0e48ad22f4 (patch)
treef9235401edc68e2050cf825f05ec4ce7b6bf64bd /tools
parentnyanology: some theme files are not being packaged, Makefile.am++ (diff)
downloadterminology-eb28d29bde123ff94c5c927614845f0e48ad22f4.tar.gz
tools: fix pacman to correctly run on bash. Closes https://phab.enlightenment.org/T1248
Diffstat (limited to 'tools')
-rwxr-xr-xtools/pacman.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/pacman.sh b/tools/pacman.sh
index 0c34e2a..836b7da 100755
--- a/tools/pacman.sh
+++ b/tools/pacman.sh
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/usr/bin/env bash
# ANSI Color -- use these variables to easily have different color
-# and format output. Make sure to output the reset sequence after
+# and format output. Make sure to output the reset sequence after
# colors (f = foreground, b = background), and use the 'off'
# feature for anything you turn on.
@@ -11,7 +11,7 @@ initializeANSI()
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
cyanf="${esc}[36m"; whitef="${esc}[37m"
-
+
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
cyanb="${esc}[46m"; whiteb="${esc}[47m"
@@ -27,7 +27,7 @@ initializeANSI()
# note in this first use that switching colors doesn't require a reset
# first - the new color overrides the old one.
-clear
+clear
initializeANSI
@@ -39,7 +39,7 @@ cat << EOF
${yellowf}███████▄${reset} ${redf}████████████${reset} ${greenf}████████████${reset} ${bluef}████████████${reset} ${purplef}████████████${reset} ${cyanf}████████████${reset}
${yellowf}▀█████████▄▄${reset} ${redf}██▀██▀▀██▀██${reset} ${greenf}██▀██▀▀██▀██${reset} ${bluef}██▀██▀▀██▀██${reset} ${purplef}██▀██▀▀██▀██${reset} ${cyanf}██▀██▀▀██▀██${reset}
${yellowf} ▀███████▀${reset} ${redf}▀ ▀ ▀ ▀${reset} ${greenf}▀ ▀ ▀ ▀${reset} ${bluef}▀ ▀ ▀ ▀${reset} ${purplef}▀ ▀ ▀ ▀${reset} ${cyanf}▀ ▀ ▀ ▀${reset}
-
+
${boldon}${yellowf} ▄███████▄ ${redf} ▄██████▄ ${greenf} ▄██████▄ ${bluef} ▄██████▄ ${purplef} ▄██████▄ ${cyanf} ▄██████▄${reset}
${boldon}${yellowf}▄█████████▀▀ ${redf}▄${whitef}█▀█${redf}██${whitef}█▀█${redf}██▄ ${greenf}▄${whitef}█▀█${greenf}██${whitef}█▀█${greenf}██▄ ${bluef}▄${whitef}█▀█${bluef}██${whitef}█▀█${bluef}██▄ ${purplef}▄${whitef}█▀█${purplef}██${whitef}█▀█${purplef}██▄ ${cyanf}▄${whitef}█▀█${cyanf}██${whitef}█▀█${cyanf}██▄${reset}
${boldon}${yellowf}███████▀ ${redf}█${whitef}▄▄█${redf}██${whitef}▄▄█${redf}███ ${greenf}█${whitef}▄▄█${greenf}██${whitef}▄▄█${greenf}███ ${bluef}█${whitef}▄▄█${bluef}██${whitef}▄▄█${bluef}███ ${purplef}█${whitef}▄▄█${purplef}██${whitef}▄▄█${purplef}███ ${cyanf}█${whitef}▄▄█${cyanf}██${whitef}▄▄█${cyanf}███${reset}