1 Commits

Author SHA1 Message Date
Jay Larson
17845fb7b6 Added $TARGET to file destinations in usher 2017-07-05 07:27:31 -05:00
2 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ URL = https://www.gnu.org/software/libc/
BRIEF = The GNU C Library BRIEF = The GNU C Library
DESC = The GNU C Library is used as the C library in the GNU system and in \ DESC = The GNU C Library is used as the C library in the GNU system and in \
GNU/Linux systems, as well as many other systems that use Linux as the kernel. GNU/Linux systems, as well as many other systems that use Linux as the kernel.
SNAPVER = 6 SNAPVER = 7
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1) ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n') TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')

View File

@@ -8,11 +8,11 @@ case $1 in
;; ;;
postinst) postinst)
if [ ! -f ${TARGET}/etc/ld.so.conf ]; then if [ ! -f ${TARGET}/etc/ld.so.conf ]; then
cp ${TARGET}/usr/share/glibc/ld.so.conf /etc/ld.so.conf cp ${TARGET}/usr/share/glibc/ld.so.conf ${TARGET}/etc/ld.so.conf
fi fi
if [ ! -f ${TARGET}/etc/nsswitch.conf ]; then if [ ! -f ${TARGET}/etc/nsswitch.conf ]; then
cp ${TARGET}/usr/share/glibc/nsswitch.conf /etc/nsswitch.conf cp ${TARGET}/usr/share/glibc/nsswitch.conf ${TARGET}/etc/nsswitch.conf
fi fi
;; ;;
prerm) prerm)