summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-01 15:38:10 +0100
committerdavidovski <david@davidovski.xyz>2022-05-01 15:38:10 +0100
commit13a43a3bda7be69b40480d871b61cbf15f3baec6 (patch)
treea9c4d3a1238b4afaa3f33a28bfc80ece31960217
parent69a4d1ed1f133523fd9d4920b93b272194f5ae80 (diff)
fixed ignoring symlinksv1.3
-rw-r--r--src/install.sh2
-rwxr-xr-xsrc/profile.sh6
2 files changed, 4 insertions, 4 deletions
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