Added $TARGET to file destinations in usher
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user