From 13a43a3bda7be69b40480d871b61cbf15f3baec6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 1 May 2022 15:38:10 +0100 Subject: fixed ignoring symlinks --- src/install.sh | 2 +- src/profile.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/install.sh b/src/install.sh index fb4ede1..3168fdc 100644 --- a/src/install.sh +++ b/src/install.sh @@ -1,7 +1,7 @@ #!/bin/sh extract () { - tar -h --keep-old-files -p -vvxf $1 -C ${SYSROOT} 2>${LOG_FILE} | grep ^- | tr -s " " | cut -d" " -f6 | cut -c2- + tar -h --keep-old-files -p -vvxf $1 -C ${SYSROOT} 2>${LOG_FILE} | grep -v ^d | tr -s " " | cut -d" " -f6 | cut -c2- } install_package () { diff --git a/src/profile.sh b/src/profile.sh index 1fa6ecd..0ddcc0a 100755 --- a/src/profile.sh +++ b/src/profile.sh @@ -1,8 +1,8 @@ #!/bin/sh -. /usr/lib/colors.sh && - export HBAR_COMPLETE="-c ${GREEN}${BG_DEFAULT}" && - export HBAR_RED="-c ${BLACK}${BG_RED}" +. /usr/lib/colors.sh +export HBAR_COMPLETE="-c ${GREEN}${BG_DEFAULT}" +export HBAR_RED="-c ${BLACK}${BG_RED}" . /usr/lib/glyphs.sh -- cgit v1.2.1