Added $TARGET to file destinations in usher

This commit is contained in:
2017-07-05 07:27:31 -05:00
parent 320820267e
commit 17845fb7b6
2 changed files with 3 additions and 3 deletions

View File

@@ -8,11 +8,11 @@ case $1 in
;;
postinst)
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
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
;;
prerm)