# Author: Steve Youngs <steve@sxemacs.org>
# Maintainer: Steve Youngs <steve@sxemacs.org>
# Created: <2021-05-04>
-# Time-stamp: <Sunday 16 May 2021 20:01:51 (steve)>
+# Time-stamp: <Thursday 27 May 2021 19:36:09 (steve)>
# Homepage: https://git.sxemacs.org/pkgusr
# Keywords: pkgusr package-management tools
if [[ ${PKGASSETS[$i]} =~ /s?bin/ ]]; then
# look at symlinks first, we'll be massaging them a bit
if [[ -h ${PKGASSETS[$i]} && -f ${PKGASSETS[$i]} ]]; then
- UBINS[$U]=$(basename $(stat --printf "%N" "${PKGASSETS[$i]}" |
- sed -e s/\'//g -e 's/ /(/' -e 's/ //' -e 's/$/)/'))
+ LTGT=$(stat --printf "%N" "${PKGASSETS[$i]}" |
+ awk -F\' '{print "(->"$4")"}')
+ UBINS[$U]=$(basename ${PKGASSETS[$i]})${LTGT}
U=$((($U + 1)))
# done with this file, skip to the next
continue