Skip to content

Commit

Permalink
Added yay flag for installing without cache.
Browse files Browse the repository at this point in the history
And prettified the export.
  • Loading branch information
samoht9277 committed Sep 8, 2023
1 parent e39f1b4 commit 04efa6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ DEFAULT_CAIRO_VERSION="latest"

set_cairo_corelib() {
echo -e "${LOG}For cairo to work, please set the CARGO_MANIFEST_DIR environment variable in your shell of choice with the following value:${RST}"
echo "export CARGO_MANIFEST_DIR=$1"
echo -e "\e[1;93m → export CARGO_MANIFEST_DIR=$1 ${RST} \n\n"
}

extract_version_from_url() {
Expand Down Expand Up @@ -69,7 +69,7 @@ install() {
echo -e "${LOG}Installing Cairo ${CAIRO_VERSION} on Arch Linux ${RST}"
[[ ! -e /usr/bin/yay ]] && echo -e "${ERR}No yay installation found. If you use another AUR helper, please install the cairo-lang package.${RST}"
set -x
yay -S --noconfirm cairo-lang
yay -Scc --noconfirm cairo-lang
set +x
set_cairo_corelib "/usr/lib/corelib/"
;;
Expand Down

0 comments on commit 04efa6c

Please sign in to comment.